Skip to content

Commit

Permalink
Improve on doc on how to manually setup the LXD agent (#14023)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomponline authored Aug 31, 2024
2 parents 4c020e2 + 36c6a8b commit 6c49827
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions doc/howto/instances_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,16 +357,20 @@ Now the VM can be rebooted, and it will boot from disk.
<!-- iso_vm_step7 end -->
<!-- iso_vm_step8 start -->
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:
If the VM was 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
```{note}
On SELinux enabled distribution, it might be necessary to disable SELinux or set it to `permissive` mode. Please refer to your OS vendor documentation for how to do this.
```
````
````{group-tab} API
Expand Down

0 comments on commit 6c49827

Please sign in to comment.