2016-06-09 20:20:37 |
Lee Trager |
description |
MAAS has a commissioning script which detects if the commissioning node is running in a virtual environment. The current script does this my seeing if the CPU model name contains QEMU. This only detects QEMU virtualized environments and does not work with KVM, LXD, VMware, VirtualBox, or any other virtualization method.
The package virt-what supports detecting if the running host is on a number of different virtualization technologies. Modifying our commissioning script to use virt-what would be fairly trivial. The only thing preventing this right now is that virt-what is in universe, for MAAS to use it it must be in main. |
MAAS has a commissioning script which detects if the commissioning node is running in a virtual environment. The current script does this my seeing if the CPU model name contains QEMU. This only detects QEMU virtualized environments and does not work with KVM, LXD, VMware, VirtualBox, or any other virtualization method.
MAAS should use systemd-detect-virt if available. |
|