I need to execute the below bash script or any startup script each time I start a particular openvz container. However I forgot the location it needs to be in for this to happen.
#!/bin/bash
sleep 1
/bin/mount -n --bind /test /var/lib/vz/root/${VEID}/media/testmount
exit $?
Please show me the location and process of running a startup script.
Thank you.
#!/bin/bash
sleep 1
/bin/mount -n --bind /test /var/lib/vz/root/${VEID}/media/testmount
exit $?
Please show me the location and process of running a startup script.
Thank you.