From d86a0b8969f9ad049a80f3f6c5664099af2b8177 Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 6 Feb 2024 17:12:51 +0900 Subject: [PATCH] Update install --- docs/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/install.sh b/docs/install.sh index 16a291ce..8a911a83 100755 --- a/docs/install.sh +++ b/docs/install.sh @@ -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 # 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 chmod 0400 /mnt/etc/swap.key fi