diff options
author | Chad Smith <chad.smith@canonical.com> | 2022-04-06 15:15:21 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-06 15:15:21 -0600 |
commit | e3307e4d8cd7ccf352c7662783b472545e8ecc56 (patch) | |
tree | 7a6c29ebee97230926bdac31f0597b0a973a1c41 /templates | |
parent | 40c52ce1f4049449b04f93226721f63af874c5c7 (diff) | |
download | cloud-init-git-e3307e4d8cd7ccf352c7662783b472545e8ecc56.tar.gz |
ds-identify: detect LXD for VMs launched from host with > 5.10 kernel (#1370)
Launching KVM instances from a host system with > 5.10 kernel results
in LXC passing `hv_passthrough` to the kvm instance being launched.
Systemd < 251 will incorrectly detect the CPU in this case as
"qemu" instead of "kvm".
ds-identify needs to properly interpret systems with
sytemd-detect-virt="qemu" and /sys/class/dmi/id/board_name="LXD"
This functionality can be dropped once systemd 251 support is
available on all supported distributions.
LP: #1968085
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions