Welcome to mirror list, hosted at ThFree Co, Russian Federation.

tests_virtualization « include - github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c2a6ca69564c76b2bb05bcc22357a0f80341df72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/sh

#################################################################################
#
#   Lynis
# ------------------
#
# Copyright 2007-2016, Michael Boelen, CISOfy (michael.boelen@cisofy.com)
# Web site: https://cisofy.com
#
# Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
# welcome to redistribute it under the terms of the GNU General Public License.
# See LICENSE file for usage of this software.
#
#################################################################################
#
# Virtualization
#
#################################################################################
#
    InsertSection "Virtualization"
#
#################################################################################
#
#    # Test        : VIRT-1920
#    # Description : Checking VMware
#    Register --test-no VIRT-1920 --weight L --network NO --description "Checking VMware guest status"
#    if [ ${SKIPTEST} -eq 0 ]; then
#        # Initialise
#        VMWARE_GUEST=0
#        Display --indent 2 --text "- Checking VMware guest status"
#        # check memory driver file
#        # check LKM list
#        # check vmware tools
#        LogText "Test: checking VMware tools daemon presence"
#        if [ ! "${VMWARETOOLSBINARY}" = "" ]; then
#            LogText "Result: VMware tools binary found"
#            VMWARE_GUEST=1
#            Display --indent 4 --text "- Checking VMware tools daemon" --result FOUND --color GREEN
#          else
#            Display --indent 4 --text "- Checking VMware tools daemon" --result "NOT FOUND" --color WHITE
#        fi
#
#    fi
#
#################################################################################
#

wait_for_keypress

#
#================================================================================
# Lynis - Copyright 2007-2016, Michael Boelen, CISOfy - https://cisofy.com