Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 11-05-2012, 05:27 PM   #1
Registered: Jun 2012
Posts: 264

Rep: Reputation: Disabled
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?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
issues accessing ip/ethernet after using virt clone to create kvm host bluerfoot Linux - Virtualization and Cloud 2 08-19-2011 08:46 AM
virt-manager 0.8.2 local ISO and PXE boot install option greyed out on pv dom0 tkmsr Linux - Virtualization and Cloud 2 03-01-2011 04:09 AM
Virt-install mickeyboa Fedora 1 06-29-2010 04:48 PM
LXer: Hacking libvirt/virsh/virt-manager/virt-install at Xen 4.0 Dom0 on top of Ubunt LXer Syndicated Linux News 0 05-06-2010 02:50 PM
LXer: Virt-install&Virt-manager at Xen 4.0-rc8 ( pvops) Dom0 on top Ubuntu K LXer Syndicated Linux News 0 03-26-2010 09:41 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 05:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration