test
This commit is contained in:
parent
a577db1cc2
commit
8f46cb45b7
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ fi
|
||||||
|
|
||||||
# Create a key for encrypted swap, if needed
|
# Create a key for encrypted swap, if needed
|
||||||
sudo mkdir -p /mnt-root/etc/
|
sudo mkdir -p /mnt-root/etc/
|
||||||
|
sudo chmod +r -R /mnt-root
|
||||||
echo "$(head -c32 /dev/random | base64)" > /mnt-root/etc/swap.key
|
echo "$(head -c32 /dev/random | base64)" > /mnt-root/etc/swap.key
|
||||||
|
|
||||||
echo "WARNING! The disks in $TARGET_HOST are about to get wiped"
|
echo "WARNING! The disks in $TARGET_HOST are about to get wiped"
|
||||||
|
|
Loading…
Reference in a new issue