We will now create a more controlled shutdown of vCloud.
This script that you create will be running on the vCloud Director VM itself, so we need to be able to log in to the VM and become a root user.
You also need a user account, that is
SysAdmin in order to execute the script.
There are two ways to get the script into the vCloud VM:
chmod 744 /sbin/vCloud-Shutdown.