How can I create a VM with virt-install that will not restart on boot?
I use virt-install to create KVM-based VMs under a CentOS 6.3 system. Everything works fine accept that I want the VMs I create to not automatically start running when I reboot the hypervisor. From what I can tell the virt-install command does not have an option specifically for this, at least that I can tell. I can use virsh after a VM is created and say
virsh autostart <domain-name> --disable and doing this reports that "Domain <domain-name> unmarked as autostarted", but this doesn't seem to have any impact--the VM autostarts after a hypervisor reboot even after I've done this. I assume there must be a way to control this autostart setting. What's the trick? |
All times are GMT -5. The time now is 01:26 AM. |