This commit is contained in:
iFargle 2024-02-05 22:24:49 +09:00
parent a577db1cc2
commit 8f46cb45b7

View file

@ -50,6 +50,7 @@ fi
# Create a key for encrypted swap, if needed
sudo mkdir -p /mnt-root/etc/
sudo chmod +r -R /mnt-root
echo "$(head -c32 /dev/random | base64)" > /mnt-root/etc/swap.key
echo "WARNING! The disks in $TARGET_HOST are about to get wiped"