Ce contenu n'est pas disponible dans la langue sélectionnée.

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.
$ virsh autostart [--disable] domain will automatically start the specified domain at boot. Using the --disable option disables autostart.
# virsh autostart rhel6virsh autostart rhel6
Copy to Clipboard Toggle word wrap
In the example above, the rhel6 guest virtual machine will automatically start when the host physical machine boots
# virsh autostart rhel6 --disablevirsh autostart rhel6 --disablevirsh autostart rhel6 --disablevirsh autostart rhel6 --disable
Copy to Clipboard Toggle word wrap
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.
Retour au début
Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance. Découvrez nos récentes mises à jour.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Theme

© 2025 Red Hat