dev.md: updated documentation

This commit is contained in:
2022-02-18 09:22:10 +01:00
parent 8c975cec0e
commit 074518c513
2 changed files with 20 additions and 0 deletions

34
modules/hardenning_vm.sh Normal file
View File

@@ -0,0 +1,34 @@
# ------------------------------------------------------------------------------
# Hardenning for VM/Cloud kind of machine
# This file is part of the init.sh project
# Copyright (c) 2019-2021 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_vm_hardenning="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