Skip to content

How do I disable the first boot startup scripts? #7

Answered by CounterPillow
lunasophia asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by CounterPillow
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants