Update install

This commit is contained in:
iFargle 2024-02-06 17:12:51 +09:00
parent 9d6a488b12
commit d86a0b8969

View file

@ -79,7 +79,7 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
# If there is a keyfile for a data disk, put copy it to the root partition and # If there is a keyfile for a data disk, put copy it to the root partition and
# ensure the permissions are set appropriately. # ensure the permissions are set appropriately.
if [[ -f "/tmp/swap.key" ]]; then if [[ -f "/mnt-root/etc/swap.key" ]]; then
sudo cp /mnt-root/etc/swap.key /mnt/etc/swap.key sudo cp /mnt-root/etc/swap.key /mnt/etc/swap.key
sudo chmod 0400 /mnt/etc/swap.key sudo chmod 0400 /mnt/etc/swap.key
fi fi