mirror of
https://github.com/CISOfy/lynis.git
synced 2025-04-08 17:15:25 +02:00
Make IsVirtualMachine detect centos6.8 on openstack (#258)
These function made mistake in centos 6.8 virtual machine. Only dmicecode work on these environment and it return Openstack Nova. A openstack case is needed in codes that check $SHORT codes.
This commit is contained in:
parent
16ec22ac7b
commit
b1c432c3e0
@ -1336,6 +1336,7 @@
|
||||
vmware) ISVIRTUALMACHINE=1; VMTYPE="vmware"; VMFULLTYPE="VMware product" ;;
|
||||
xen) ISVIRTUALMACHINE=1; VMTYPE="xen"; VMFULLTYPE="XEN" ;;
|
||||
zvm) ISVIRTUALMACHINE=1; VMTYPE="zvm"; VMFULLTYPE="IBM z/VM" ;;
|
||||
openstack) ISVIRTUALMACHINE=1; VMTYPE="nova"; VMFULLTYPE="Openstack Nova" ;;
|
||||
*) LogText "Result: Unknown virtualization type, so most likely system is physical" ;;
|
||||
esac
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user