From f8a02c08e1855294350ec5ea5bf05f24d4e56c0d Mon Sep 17 00:00:00 2001 From: Dan Kenigsberg Date: Wed, 9 Dec 2020 11:51:53 +0200 Subject: [PATCH] virt-installing-qemu-guest-agent: shorten procedure It's only one line less, but it still counts. Signed-off-by: Dan Kenigsberg --- .../virt-installing-qemu-guest-agent-on-linux-vm.adoc | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/modules/virt-installing-qemu-guest-agent-on-linux-vm.adoc b/modules/virt-installing-qemu-guest-agent-on-linux-vm.adoc index a4109a4f94..cd3a3af086 100644 --- a/modules/virt-installing-qemu-guest-agent-on-linux-vm.adoc +++ b/modules/virt-installing-qemu-guest-agent-on-linux-vm.adoc @@ -19,16 +19,9 @@ virtual machines. Install the agent and start the service $ yum install -y qemu-guest-agent ---- -. Start the QEMU guest agent service: +. Ensure the service is persistent and start it: + [source,terminal] ---- -$ systemctl start qemu-guest-agent ----- - -. Ensure the service is persistent: -+ -[source,terminal] ----- -$ systemctl enable qemu-guest-agent +$ systemctl enable --now qemu-guest-agent ----