Skip to content

Commit

Permalink
doc/howto/instances_create: add note for lxd-agent install in ISO ins…
Browse files Browse the repository at this point in the history
…tall

Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Sep 6, 2024
1 parent 7991cd9 commit b03a68a
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions doc/howto/instances_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,17 +356,9 @@ You should now see the installer. After the installation is done, detach the cus
Now the VM can be rebooted, and it will boot from disk.
<!-- iso_vm_step7 end -->
<!-- iso_vm_step8 start -->
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 -->
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
reboot
```{note}
On Linux virtual machines, the {ref}`LXD agent can be manually installed <lxd-agent-manual-install>`.
```
````
````{group-tab} API
Expand Down Expand Up @@ -480,6 +472,7 @@ You can then upload your ISO file and install a VM from it.
````
`````

(lxd-agent-manual-install)=
### Install the LXD agent into virtual machine instances

In order for features like direct command execution (`lxc exec` & `lxc shell`), file transfers (`lxc file`) and detailed usage metrics (`lxc info`)
Expand Down

0 comments on commit b03a68a

Please sign in to comment.