V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m41s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-13 07:25:07 +01:00
parent ef3112ef3b
commit 6f6a265602
4 changed files with 13 additions and 4 deletions

View File

@@ -60,6 +60,7 @@ installation_toolset() {
[parted]="parted"
[lspci]="pciutils"
[pwgen]="pwgen"
[rsyslogd]="rsyslog"
[sudo]="sudo"
[tree]="tree"
[unzip]="unzip"

View File

@@ -95,8 +95,6 @@ source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
auto ${VAR_FINAL_NIC}
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
EOF
chmod 0644 "${TARGET}/etc/network/interfaces"
@@ -110,6 +108,9 @@ EOF
insert_comments "${TARGET}/etc/network/interfaces.d/10-ipv4-dhcp"
cat << EOF >> "${TARGET}/etc/network/interfaces.d/10-ipv4-dhcp"
# The primary network interface: IPv4 via DHCP
auto ${VAR_FINAL_NIC}
allow-hotplug ${VAR_FINAL_NIC}
iface ${VAR_FINAL_NIC} inet dhcp
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
@@ -123,6 +124,9 @@ EOF
insert_comments "${TARGET}/etc/network/interfaces.d/10-ipv4-dhcp"
cat << EOF >> "${TARGET}/etc/network/interfaces.d/10-ipv4-dhcp"
# The primary network interface: IPv4 via DHCP
auto ${VAR_FINAL_NIC}
allow-hotplug ${VAR_FINAL_NIC}
iface ${VAR_FINAL_NIC} inet dhcp
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
@@ -142,7 +146,7 @@ iface ${VAR_FINAL_NIC} inet static
address ${VAR_FINAL_IPV4}
netmask ${VAR_FINAL_IPV4_SUBNET}
gateway ${VAR_FINAL_IPV4_GW}
dns-nameservers ${ARY_IPV4_NS[*]}
#dns-nameservers ${ARY_IPV4_NS[*]}
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
EOF
@@ -177,7 +181,7 @@ EOF
iface ${VAR_FINAL_NIC} inet6 static
address ${VAR_FINAL_IPV6_CIDR}
gateway ${VAR_FINAL_IPV6_GW}
dns-nameservers ${ARY_IPV6_NS[*]}
#dns-nameservers ${ARY_IPV6_NS[*]}
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
EOF

View File

@@ -14,6 +14,9 @@ guard_sourcing
# TODO: sudo TOTP deactivation
# TODO: PAM Module
# TODO: Check Password activation
# TODO: Check expiration and other dates
# TODO: Logic
#######################################
# Updating user accounts.