minor correction and first shot of disk configuration to base future works

This commit is contained in:
levasseur
2022-02-21 18:48:57 +01:00
parent b9fc8ed51c
commit e8c6f46572
7 changed files with 52 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ vm_hardenning()
pkginst linux-image-cloud-amd64
if [[ $WITH_ROUTING == yes ]]; then
# do it!
: # do it!
fi
}

View File

@@ -8,7 +8,7 @@
# https://opensource.org/licenses/BSD-3-Clause
# ------------------------------------------------------------------------------
export VER_patch_snmp="0.1.0"
export VER_patch_snmp="0.1.1"
export DEP_patch_snmp="install_pkg"
patch_snmp()
@@ -17,7 +17,7 @@ patch_snmp()
backup_dist /etc/snmp/snmpd.conf /etc/default/snmpd \
/lib/systemd/system/snmpd.service /etc/init.d/snmpd
install_file snmpd/snmpd.conf /etc/snmp/snmpd.conf
tagfile /etc/snmp/snmpd.conf
tag_file /etc/snmp/snmpd.conf
# No longer required with Debian >= 11 or Devuan >= 4
if [[ ($SYS_DIST == 'debian' && $SYS_VER -lt 11) ||
($SYS_DIST == 'devuan' && $SYS_VER -lt 4) ]]; then

View File

@@ -68,7 +68,7 @@ precheck_upgrade_dist()
{
prnt I "Checking network connectivity..."
if [[ $(noerror wget -q --tries=10 --timeout=20 --spider http://www.cnrs.fr) != 0 ]]; then
if [[ $(noerror wget -q --tries=10 --timeout=20 --spider http://www.tetaneutral.net) != 0 ]]; then
prnt E "It seems network configuration is not functionnal! Giving up."
die 160
fi