Added reboot check before attempting to provision

If the guest is shutting down don't start the chef provisioning run, wait for the machine to come back up in a ready to communicate state.