Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
294cb299
Verified
Commit
294cb299
authored
5 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
add more automation todos
parent
c2cdab53
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tsa/howto/new-machine-hetzner-robot.mdwn
+13
-0
13 additions, 0 deletions
tsa/howto/new-machine-hetzner-robot.mdwn
with
13 additions
and
0 deletions
tsa/howto/new-machine-hetzner-robot.mdwn
+
13
−
0
View file @
294cb299
...
...
@@ -148,6 +148,8 @@ which we'll use below.
tmpfs /tmp tmpfs defaults,size=512m 0 0
EOF
TODO: take the `fstab` from FAI.
6. Copy paste your key into the root's authorized keys, just to make
sure you can login:
...
...
@@ -160,6 +162,17 @@ which we'll use below.
/root/tsa-misc/installer/tor-install-luks-setup /target
TODO: use the FAI keyfiles and set a LUKS passphrase for the first
disk. For example:
LUKS_PASSPHRASE=$(tr -dc 'A-Za-z0-9' < /dev/urandom | head -c 30) &&
echo $LUKS_PASSPHRASE | cryptsetup luksAddKey /dev/md1 --key-file=/tmp/fai/crypt_dev_md1 &&
echo $LUKS_PASSPHRASE | cryptsetup luksAddKey /dev/md2 --key-file=/tmp/fai/crypt_dev_md2 &&
cryptsetup luksRemoveKey /dev/md1 --key-file=/tmp/fai/crypt_dev_md1 &&
cryptsetup luksRemoveKey /dev/md2 --key-file=/tmp/fai/crypt_dev_md2
... although that doesn't correctly setup the second disk to use a keyfile.
8. Review the crypto configuration:
cat /target/etc/crypttab
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment