Added comments and re-added the SSH key removal. Users should have their own SSH keys generated on their own hardware at first boot
-Skip G.
This commit is contained in:
parent
7821ece9b2
commit
12efa24978
@ -60,6 +60,11 @@ aarch64-img-extra-config
|
||||
# Post install scripts:
|
||||
%post
|
||||
|
||||
# Ensure no ssh keys are present
|
||||
# (User's machine should generate them on first boot)
|
||||
rm -f /etc/ssh/*_key*
|
||||
|
||||
# Write initial boot line to cmdline.txt (we will update the root partuuid further down)
|
||||
cat > /boot/cmdline.txt << EOF
|
||||
console=ttyAMA0,115200 console=tty1 root= rootfstype=ext4 elevator=deadline rootwait
|
||||
EOF
|
||||
|
Loading…
Reference in New Issue
Block a user