diff --git a/preseed.txt b/preseed.txt index 85cf6a5..f6e4643 100644 --- a/preseed.txt +++ b/preseed.txt @@ -166,7 +166,7 @@ d-i debian-installer/exit/poweroff boolean true d-i preseed/late_command string \ in-target mkdir -p /home/user/.ssh/; \ - in-target echo "sh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqc9fnzfCz8fQDFzla+D8PBhvaMmFu2aF+TYkkZRxl9 tuan@genesis-2022-01-20" > /target/home/user/.ssh/authorized_keys; \ - in-target chown -R user:user /target/home/user/.ssh/; \ - in-target chmod 700 /target/home/user/.ssh/; \ - in-target chmod 600 /target/home/user/.ssh/authorized_keys + in-target echo "sh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqc9fnzfCz8fQDFzla+D8PBhvaMmFu2aF+TYkkZRxl9 tuan@genesis-2022-01-20" > /home/user/.ssh/authorized_keys; \ + in-target chown -R user:user /home/user/.ssh/; \ + in-target chmod 700 /home/user/.ssh/; \ + in-target chmod 600 /home/user/.ssh/authorized_keys