From 19ac4f65e64849a6de0db0099e9c8e44e65f177d Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Fri, 30 Aug 2024 17:17:02 -0400 Subject: [PATCH] doc/howto/instances_create: improve LXD agent setup snippet Signed-off-by: Simon Deziel --- doc/howto/instances_create.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/howto/instances_create.md b/doc/howto/instances_create.md index 04d1851ca10b..a3a277740f0d 100644 --- a/doc/howto/instances_create.md +++ b/doc/howto/instances_create.md @@ -360,12 +360,13 @@ Now the VM can be rebooted, and it will boot from disk. If the VM installed from an ISO is a Linux distribution using `systemd`, it is possible to install the LXD agent inside of it. This can be done manually as the root user inside the VM: - mount -t 9p config /mnt + modprobe 9pnet_virtio + mount -t 9p config /mnt -o access=0,transport=virtio || mount -t virtiofs config /mnt cd /mnt ./install.sh cd / umount /mnt - systemctl start lxd-agent + reboot ````