mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Added lxc in virt-what list.
This should help detecting LXC containers as virtual
This commit is contained in:
parent
f65501fff4
commit
d554583f76
@ -560,7 +560,7 @@ def _virtual(osdata):
|
||||
grains['virtual'] = 'LXC'
|
||||
break
|
||||
elif command == 'virt-what':
|
||||
if output in ('kvm', 'qemu', 'uml', 'xen'):
|
||||
if output in ('kvm', 'qemu', 'uml', 'xen', 'lxc'):
|
||||
grains['virtual'] = output
|
||||
break
|
||||
elif 'vmware' in output:
|
||||
|
Loading…
Reference in New Issue
Block a user