test
This commit is contained in:
parent
bfc6c76bae
commit
59b0758b9b
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ if [ ! -e "nixos/hosts/$TARGET_HOST/disks.nix" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Create a key for encrypted swap, if needed
|
# Create a key for encrypted swap, if needed
|
||||||
openssl rand -hex 512 > /etc/swap.key
|
sudo echo -n "$(head -c32 /dev/random | base64)" > /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"
|
||||||
echo " NixOS will be re-installed"
|
echo " NixOS will be re-installed"
|
||||||
|
|
Loading…
Reference in a new issue