test
This commit is contained in:
parent
650cd2547a
commit
1abddd1625
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +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
|
sudo chmod 777 -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