From 43c65b5430aed4ffd287c66480bd123b713eb767 Mon Sep 17 00:00:00 2001 From: Panagiotis Vasilopoulos Date: Sat, 20 Mar 2021 11:00:43 +0200 Subject: [PATCH] Improved systemd-related instructions --- README.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e2108aa..ac143ec 100644 --- a/README.md +++ b/README.md @@ -360,14 +360,12 @@ sudo apt install qemu qemu-kvm libvirt-clients libvirt-daemon-system bridge-util sudo yum install libvirt qemu-kvm # then run -sudo systemctl enable libvirtd.service -sudo systemctl enable virtlogd.service +sudo systemctl enable --now libvirtd +sudo systemctl enable --now virtlogd echo 1 | sudo tee /sys/module/kvm/parameters/ignore_msrs sudo modprobe kvm - -# reboot ``` # Start the same container later (persistent disk) @@ -501,7 +499,7 @@ sudo dockerd sudo nohup dockerd & # or enable it in systemd -sudo systemctl enable docker +sudo systemctl enable --now docker ``` # How to Forward Additional Ports from the guest.