Skip to content

Commit

Permalink
doc/howto/instances_create: improve LXD agent setup snippet
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Aug 30, 2024
1 parent 4c020e2 commit 19ac4f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/howto/instances_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
<!-- iso_vm_step8 end -->
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
````
Expand Down

0 comments on commit 19ac4f6

Please sign in to comment.