I am wondering if anyone can help with understanding how the files section of a VM template works.
I ussually used the startup script which worked fine, but for a common startup script I would prefer to attach this as a file.
I have created init.sh and uploaded it, I have then typed in the name init.sh for the VM’s file.
When the VM boots it doesn’t run the init.sh file (I have tested the script works fine).
Am I doing something wrong with this?
EDIT: i can see its trying to access this file
Jul 9 10:37:43 Test one-contextd: chmod: cannot access ‘/tmp/one-context. 6M7wqE/init.sh’: No such file or directory