Skip to content
Snippets Groups Projects
Unverified Commit 4663f789 authored by anarcat's avatar anarcat
Browse files

move up root password setting and show more prominently

We need to copy this into the password manager so it *needs* to be
obvious here.
parent 0889f67d
No related branches found
No related tags found
No related merge requests found
......@@ -107,9 +107,10 @@ which we'll use below.
opposed to the *partition* which is `$BOOT_DEVICE`.
BOOT_DISK=/dev/nvme0n1 &&
ROOTPASSWORD=$(tr -dc 'A-Za-z0-9' < /dev/urandom | head -c 30) &&
echo "root password: $ROOTPASSWORD" &&
mkdir -p /target/run && mount -t tmpfs tgt-run /target/run &&
mkdir /target/run/udev && mount -o bind /run/udev /target/run/udev &&
ROOTPASSWORD=$(tr -dc 'A-Za-z0-9' < /dev/urandom | head -c 30) &&
apt-get install -y grml-debootstrap && \
sed -e 's/postfix//;
s/vlan//;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment