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
61640e63
Verified
Commit
61640e63
authored
5 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
make bootstrap copy-pasteable
parent
0d273692
No related branches found
Branches containing commit
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
+5
-8
5 additions, 8 deletions
tsa/howto/new-machine-hetzner-robot.mdwn
with
5 additions
and
8 deletions
tsa/howto/new-machine-hetzner-robot.mdwn
+
5
−
8
View file @
61640e63
...
@@ -106,12 +106,10 @@ which we'll use below.
...
@@ -106,12 +106,10 @@ which we'll use below.
`/target` and that the boot device is defined by `$BOOT_DEVICE`
`/target` and that the boot device is defined by `$BOOT_DEVICE`
(populated above by FAI):
(populated above by FAI):
# make target/run stay clean
mkdir -p /target/run && mount -t tmpfs tgt-run /target/run &&
mkdir -p /target/run && mount -t tmpfs tgt-run /target/run
mkdir /target/run/udev && mount -o bind /run/udev /target/run/udev &&
# grml-debootstrap hangs for weasel in vgs without this:
bootdisk=/dev/nvme1n1 &&
mkdir /target/run/udev && mount -o bind /run/udev /target/run/udev
ROOTPASSWORD=$(tr -dc 'A-Za-z0-9' < /dev/urandom | head -c 30) &&
ROOTPASSWORD=\$(tr -dc 'A-Za-z0-9' < /dev/urandom | head -c 30) \
apt-get install -y grml-debootstrap && \
apt-get install -y grml-debootstrap && \
sed -e 's/postfix//;
sed -e 's/postfix//;
s/vlan//;
s/vlan//;
...
@@ -133,8 +131,7 @@ which we'll use below.
...
@@ -133,8 +131,7 @@ which we'll use below.
--mirror https://mirror.hetzner.de/debian/packages/ \
--mirror https://mirror.hetzner.de/debian/packages/ \
--packages /root/grml-packages \
--packages /root/grml-packages \
--password "$ROOTPASSWORD" \
--password "$ROOTPASSWORD" \
--remove-configs --defaultinterfaces
--remove-configs --defaultinterfaces &&
umount /target/run/udev /target/run
umount /target/run/udev /target/run
5. Once the bootstrapping is complete, you still need to make sure
5. Once the bootstrapping is complete, you still need to make sure
...
...
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