Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve on doc on how to manually setup the LXD agent #14023

Merged
merged 2 commits into from
Aug 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading