diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-09-09 14:19:13 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-09-09 14:20:21 +0200 |
commit | 304762e02f2eded90b1718303bb164e12024574e (patch) | |
tree | 68cd4f5de564ae33330ebad97f1af4078611a90d /perl-install/detect_devices.pm | |
parent | fc255781e56bbddf3859e8941e4a3e93eee637fa (diff) | |
download | drakx-304762e02f2eded90b1718303bb164e12024574e.tar drakx-304762e02f2eded90b1718303bb164e12024574e.tar.gz drakx-304762e02f2eded90b1718303bb164e12024574e.tar.bz2 drakx-304762e02f2eded90b1718303bb164e12024574e.tar.xz drakx-304762e02f2eded90b1718303bb164e12024574e.zip |
detect ovirt too (mga#19308)
it looks like not all KVM GUIes result in the same result with
systemd-detect-virt
let's handle both cases
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 8cff4d994..b2a9b03f7 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -1470,7 +1470,7 @@ Are we running under Qemu hypervisor? =cut sub is_qemu() { - virt_technology() eq 'qemu'; + member(virt_technology(), qw(kvm qemu)); } =item is_virtualbox() |