How do I disable the first boot startup scripts? #7
-
I have booted the board |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Disabling the resize root hook should be as easy as The openssh key generation is a systemd unit that only runs if the host keys are missing, so that doesn't need to be disabled since it won't run. |
Beta Was this translation helpful? Give feedback.
Disabling the resize root hook should be as easy as
sudo chmod -x /etc/initramfs-tools/hooks/resizerootfs && sudo update-initramfs -u
but I'll have to double check that before I put it in the documentation.The openssh key generation is a systemd unit that only runs if the host keys are missing, so that doesn't need to be disabled since it won't run.