diff --git a/docs/install.sh b/docs/install.sh index c6166b8e..02a48eb5 100755 --- a/docs/install.sh +++ b/docs/install.sh @@ -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"