diff options
author | mboelen <michael@cisofy.com> | 2014-11-04 02:32:59 +0300 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2014-11-04 02:32:59 +0300 |
commit | b81d3cc3e02c326bf6ed5f1e22ad8152cbc134dd (patch) | |
tree | 0f0f6ab2981ea30b124a0c54e715e9aadc3a596a | |
parent | 28b31b95c801b3e1d3a1986b7135608921804d4d (diff) |
Do not test virtual machine status too early
-rwxr-xr-x | lynis | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -468,8 +468,6 @@ report "os_version=${OS_VERSION}" if [ "${OS}" = "Linux" ]; then report "linux_version=${LINUX_VERSION}"; fi report "hostname=${HOSTNAME}" - # Check if this system is a virtual machine - IsVirtualMachine # ################################################################################# # @@ -487,7 +485,6 @@ if [ ! "${OS_MODE}" = "" ]; then echo " Operating system mode: ${OS_MODE}"; fi echo " Kernel version: ${OS_KERNELVERSION}" echo " Hardware platform: ${HARDWARE}" - echo " Virtual machine: ${VMFULLTYPE}" echo " Hostname: ${HOSTNAME}" echo " Auditor: ${AUDITORNAME}" echo " Profile: ${PROFILE}" @@ -509,7 +506,6 @@ logtext "Kernel version (full): ${OS_KERNELVERSION_FULL}" fi logtext "Hardware platform: ${HARDWARE}" - logtext "Virtual machine: ${VMFULLTYPE}" logtext "Hostname: ${HOSTNAME}" logtext "Auditor: ${AUDITORNAME}" logtext "Profile: ${PROFILE}" @@ -614,6 +610,12 @@ # ################################################################################# # + # Check if this is a virtual machine (after the appropriate binaries are found) + IsVirtualMachine +# +################################################################################# +# + logtextbreak InsertPluginSection "Plugins (phase 1)" logtext "Searching plugins..." |