From: Peter Krempa Date: Mon, 5 May 2025 14:39:25 +0000 (+0200) Subject: docs: man: Document '--once' for 'virsh autostart' X-Git-Tag: v11.4.0-rc1~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e1c309157e2f56c3c2e624cb4b729ba7a0fc2b7;p=thirdparty%2Flibvirt.git docs: man: Document '--once' for 'virsh autostart' Document the '--once' option and how it combines with the setting without '--once'. Resolves: https://issues.redhat.com/browse/RHEL-89414 Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/docs/manpages/virsh.rst b/docs/manpages/virsh.rst index cef9959f16..0a54f6deff 100644 --- a/docs/manpages/virsh.rst +++ b/docs/manpages/virsh.rst @@ -1088,12 +1088,17 @@ autostart :: - autostart [--disable] domain + autostart [--disable] [--once] domain -Configure a domain to be automatically started at boot. +Configure a domain to be automatically started at each boot of the host. The +*--once* option configures the domain to be started on the next boot of the host. -The option *--disable* disables autostarting. +The option *--disable* disables the corresponding autostarting. + +Note that autostart configured via the *--once* option is independent from the +autostart configured without it. Enabling either of them will cause the VM to +be started on the next boot of the host. blkdeviotune