Files
init.sh/modules/hardenning_vm.sh
2022-06-24 17:52:17 +02:00

35 lines
1.0 KiB
Bash

# ------------------------------------------------------------------------------
# Hardenning for VM/Cloud kind of machine
# This file is part of the init.sh project
# Copyright (c) 2019-2022 Geoffray Levasseur <fatalerrors@geoffray-levasseur.org>
# ------------------------------------------------------------------------------
# This file is distributed under 3-clause BSD license.
# The complete license agreement can be obtained at:
# https://opensource.org/licenses/BSD-3-Clause
# ------------------------------------------------------------------------------
# Variables:
# * WITH_ROUTING: if yes, kernel routing capabilities will not be disabled
# ------------------------------------------------------------------------------
export VER_hardenning_vm="0.0.1"
vm_hardenning()
{
prnt I "Installing VM/Cloud kernel..."
pkginst linux-image-cloud-amd64
if [[ $WITH_ROUTING == yes ]]; then
: # do it!
fi
}
precheck_vm_hardenning()
{
:
}
export -f vm_hardenning
export -f precheck_vm_hardenning
# EOF