remove dependency on previously removed impermanence var

This commit is contained in:
2025-05-03 22:25:32 -05:00
parent 00c5b6d15c
commit 76b42a7c19
+1 -1
View File
@@ -127,7 +127,7 @@ fi
install -d -m755 "$temp/persist/etc/ssh" install -d -m755 "$temp/persist/etc/ssh"
# Generate private key and copy it to the temporary directory # Generate private key and copy it to the temporary directory
ssh-keygen -t ed25519 -f "$temp/$persist_dir/etc/ssh/ssh_host_ed25519_key" -C "$target_user"@"$target_hostname" -N "" ssh-keygen -t ed25519 -f "$temp/persist/etc/ssh/ssh_host_ed25519_key" -C "$target_user"@"$target_hostname" -N ""
# Set the correct permissions so sshd will accept the key # Set the correct permissions so sshd will accept the key
chmod 600 "$temp/persist/etc/ssh/ssh_host_ed25519_key" chmod 600 "$temp/persist/etc/ssh/ssh_host_ed25519_key"