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
db25ae3a
Unverified
Commit
db25ae3a
authored
5 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
renumber install procedure, we saved 5 steps, and move to go!
parent
f6e79d33
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
+25
-24
25 additions, 24 deletions
tsa/howto/new-machine-hetzner-robot.mdwn
with
25 additions
and
24 deletions
tsa/howto/new-machine-hetzner-robot.mdwn
+
25
−
24
View file @
db25ae3a
...
...
@@ -136,7 +136,7 @@ which we'll use below.
TODO: the keyfiles deployed there can be used to bootstrap
mandos. Document how to do this better.
8
. Review the crypto configuration:
6
. Review the crypto configuration:
cat /target/etc/crypttab
...
...
@@ -145,36 +145,36 @@ which we'll use below.
7. Review the network configuration, since it will end up in the
installed instance:
cat /target/etc/network/interfaces
cat /target/etc/network/interfaces
An example safe configuration is:
An example safe configuration is:
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
The latter two lines usually need to be added as they are missing
from Hetzner rescue shells:
The latter two lines usually need to be added as they are missing
from Hetzner rescue shells:
cat >> /etc/network/interfaces <<EOF
allow-hotplug eth0
iface eth0 inet dhcp
EOF
cat >> /etc/network/interfaces <<EOF
allow-hotplug eth0
iface eth0 inet dhcp
EOF
TODO: fix this in a post-install debootstrap hook, or in
grml-debootstrap already, see also [upstream issue 105](https://github.com/grml/grml-debootstrap/issues/105) and
[issue 136](https://github.com/grml/grml-debootstrap/issues/136).
TODO: fix this in a post-install debootstrap hook, or in
grml-debootstrap already, see also [upstream issue 105](https://github.com/grml/grml-debootstrap/issues/105) and
[issue 136](https://github.com/grml/grml-debootstrap/issues/136).
13
. If any of those latter things changed, you need to regenerate the
8
. If any of those latter things changed, you need to regenerate the
initramfs:
chroot /target update-initramfs -u
chroot /target update-grub
14
. umount things:
9
. umount things:
umount /target/run/udev || true &&
for fs in dev proc run sys ; do
...
...
@@ -183,15 +183,16 @@ which we'll use below.
umount /target/boot &&
cd / && umount /target
1
5
. close things
1
0
. close things
vgchange -a n
cryptsetup luksClose cpv_nvme
cryptsetup luksClose crypt_dev_md1
cryptsetup luksClose crypt_dev_md2
mdadm --stop /dev/md*
1
6
. Document the LUKS passphrase and root password in `tor-passwords`
1
1
. Document the LUKS passphrase and root password in `tor-passwords`
1
7
. Cross fingers and reboot:
1
2
. Cross fingers and reboot:
reboot
...
...
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