operating-system icon indicating copy to clipboard operation
operating-system copied to clipboard

Add LXD VM Guest Agent Support

Open bryanyork opened this issue 3 years ago • 3 comments
trafficstars

Fixes #676

bryanyork avatar Sep 19 '22 01:09 bryanyork

@agners @pvizeli Updated this PR to address issues and submitted upstream PR to systemd: https://github.com/systemd/systemd/pull/24802

bryanyork avatar Sep 23 '22 19:09 bryanyork

@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?

bryanyork avatar Sep 23 '22 21:09 bryanyork

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.

bryanyork avatar Sep 24 '22 06:09 bryanyork

Thanks for merging @agners ! Do you know when this will hit a production release?

bryanyork avatar Oct 07 '22 04:10 bryanyork

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.

bryanyork avatar Dec 02 '22 04:12 bryanyork