I am trying to create a bash script to install CyberPanel on a UpCloud VM. The script works perfectly when started manually, as I’ve automated the input prompts as well. However when I run the script as part of the initialization of the VM it is killed halfway through.
However if the VM is up and I execute it manually all goes well. Is the CP installation to heavy for automatization or am I missing something in the VM configuration?
Thanks.