operating-system
operating-system copied to clipboard
Add LXD VM Guest Agent Support
Fixes #676
@agners @pvizeli Updated this PR to address issues and submitted upstream PR to systemd: https://github.com/systemd/systemd/pull/24802
@agners @pvizeli Updates here from the systemd PR:
In later version of systemd past v250 series, LXD VM's are "properly" detected as KVM.
The creator / maintainer of LXD wants to keep it that way as changing will break other units expecting to see KVM. He again recommends targeting ConditionPathExists=/dev/virtio-ports/org.linuxcontainers.lxd as a test here.
I'm happy to keep the patch in, as v250 is still broken and detects qemu. I'll see if we can backport the fix to the v250 series.
I would prefer to get something in so I can follow mainline for my installation. Thoughts on next steps to merge this PR?
Updated. I think this is the best option to merge. Please let me know your thoughts. It seems I can't convince folks at systemd or LXD to return as such, so we'll need to target like this to support my use-case. Perhaps in the future we will see a better conditional that is backwards compatible.
Thanks for merging @agners ! Do you know when this will hit a production release?
Hiya again @agners ! Should I create a PR to move this to the rel-9 branch? Was hoping to get this into 9.4 so I can move my install to a production version.