wait for the vm to come up after reboot