-
-
Notifications
You must be signed in to change notification settings - Fork 363
Closed
Description
Currently incus looks for the incus-agent binary in the host PATH and copies that into the VM config drive. That works well enough but has quite a few drawbacks:
- As it's a copy, the guest cannot refresh its agent without a reboot
- Only a single OS and architecture can be made available (that of the host)
- Space and time is wasted as the binary is copied for every VM
Instead I believe we should:
- Ship a directory containing a variety of agent builds, likely named after
OS.ARCH(e.g.linux.x86_64). - That directory should be bind-mounted into the config drive
- The guest should be made to compare its agent with the one in the drive any time it gets reconnected with the host, if the two differ, the agent should exit so it can be restarted and get the new version loaded.
dontlaugh and f8122dac91
Metadata
Metadata
Assignees
Labels
EasyGood for new contributorsGood for new contributors