How to change VMs boot device from CDROM to HD

Hi I am getting following error when after installation removed the CDROM disk.

ERROR Wed Apr 13 05:30:42 2016 : Error shutting down VM: Timed out shutting down one-218
SCHED_MESSAGE Wed Apr 13 05:25:19 2016 : No host with enough capacity to deploy the VM

Though I also checked there is no option in the VM to change the BOOT device from cdrom to hd.

Please help