From 0e1c309157e2f56c3c2e624cb4b729ba7a0fc2b7 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Mon, 5 May 2025 16:39:25 +0200 Subject: [PATCH] docs: man: Document '--once' for 'virsh autostart' MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- docs/manpages/virsh.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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 -- 2.47.2