I am trying to put my script file (script.sh) in the /var/lib/cloud/scripts/per-boot/ directory, so that the cloud-init runs the script every time my VPS boots.
But the problem is the script is not getting executed when the VPS boots. Not even once.
My script file goes like this(this is just a test file)...
#!/bin/sh
echo "Hello User !!!"
mkdir /tmp/test
Is there any mistake I am doing ?
Thanks for your help !