diff options
Diffstat (limited to 'lynis')
-rwxr-xr-x | lynis | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -750,6 +750,14 @@ ${NORMAL} # # Use hardware detection capabilities IsVirtualMachine + if IsContainer; then + LogText "Result: ${PROGRAM_NAME} is running in container (${CONTAINER_TYPE})" + Report "container=1" + Report "container_type=${CONTAINER_TYPE}" + else + LogText "Result: ${PROGRAM_NAME} is not running in container" + Report "container=0" + fi IsNotebook # ################################################################################# |