Solved Request: A CLI flag to skip the "reboot y/n" question on Cloudron installation
-
"The server has to be rebooted to apply all the settings. Reboot now ? Y/n"
-
@lonkle you can use
--skip-reboot
to do this. -
@nebulon For what it's worth, I don't see that flag mentioned anywhere in the docs.cloudron.io system - maybe I missed it? If it's not there, I guess it needs to be added (and any other flags perhaps that aren't listed yet). Great to know it's there though!
-
@d19dotca Yeah, it's helped me out with debugging different VPS providers and their compatibility with cloudron-setup. Speaking of, I need to make a post about that.
-
hm I guess we haven't documented those flags as we don't intend to keep them stable. Mostly those are only for helping a bit in VPS provider image building and our internal testing environments.
-
None of the other undocumented flags in
cloudron-setup
were too useful aside from--version
of course (tho I might play around with--skip-baseimage-init
sometime). Though, doing this./cloudron-setup --skip reboot && reboot
made the install completely unattended. Or...maybe there was a "yes" in there. I'll have to test again. -
Haven't tried but
echo "yes" | ./cloudron-setup
probably works as well to automate reboot.