Show Table of Contents
14.5. Domain Commands
A domain name is required for most of these commands as they manipulate the specified domain directly. The domain may be given as a short integer (0,1,2...), a name, or a full UUID.
14.5.1. Configuring a Domain to be Started Automatically at Boot
$ virsh autostart [--disable] domain will automatically start the specified domain at boot. Using the --disable option disables autostart.
# virsh autostart rhel6
In the example above, the rhel6 guest virtual machine will automatically start when the host physical machine boots
# virsh autostart rhel6 --disable
In the example above, the autostart function is disabled and the guest virtual machine will no longer start automatically when the host physical machine boots.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.