V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m41s
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:
@@ -630,6 +630,7 @@ software:
|
|||||||
# parted
|
# parted
|
||||||
# pciutils
|
# pciutils
|
||||||
# pwgen
|
# pwgen
|
||||||
|
# rsyslog
|
||||||
# sudo
|
# sudo
|
||||||
# tree
|
# tree
|
||||||
# unzip
|
# unzip
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ installation_toolset() {
|
|||||||
[parted]="parted"
|
[parted]="parted"
|
||||||
[lspci]="pciutils"
|
[lspci]="pciutils"
|
||||||
[pwgen]="pwgen"
|
[pwgen]="pwgen"
|
||||||
|
[rsyslogd]="rsyslog"
|
||||||
[sudo]="sudo"
|
[sudo]="sudo"
|
||||||
[tree]="tree"
|
[tree]="tree"
|
||||||
[unzip]="unzip"
|
[unzip]="unzip"
|
||||||
|
|||||||
@@ -95,8 +95,6 @@ source-directory /etc/network/interfaces.d
|
|||||||
auto lo
|
auto lo
|
||||||
iface lo inet loopback
|
iface lo inet loopback
|
||||||
|
|
||||||
auto ${VAR_FINAL_NIC}
|
|
||||||
|
|
||||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||||
EOF
|
EOF
|
||||||
chmod 0644 "${TARGET}/etc/network/interfaces"
|
chmod 0644 "${TARGET}/etc/network/interfaces"
|
||||||
@@ -110,6 +108,9 @@ EOF
|
|||||||
insert_comments "${TARGET}/etc/network/interfaces.d/10-ipv4-dhcp"
|
insert_comments "${TARGET}/etc/network/interfaces.d/10-ipv4-dhcp"
|
||||||
cat << EOF >> "${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
|
# The primary network interface: IPv4 via DHCP
|
||||||
|
auto ${VAR_FINAL_NIC}
|
||||||
|
allow-hotplug ${VAR_FINAL_NIC}
|
||||||
|
|
||||||
iface ${VAR_FINAL_NIC} inet dhcp
|
iface ${VAR_FINAL_NIC} inet dhcp
|
||||||
|
|
||||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
# 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"
|
insert_comments "${TARGET}/etc/network/interfaces.d/10-ipv4-dhcp"
|
||||||
cat << EOF >> "${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
|
# The primary network interface: IPv4 via DHCP
|
||||||
|
auto ${VAR_FINAL_NIC}
|
||||||
|
allow-hotplug ${VAR_FINAL_NIC}
|
||||||
|
|
||||||
iface ${VAR_FINAL_NIC} inet dhcp
|
iface ${VAR_FINAL_NIC} inet dhcp
|
||||||
|
|
||||||
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
# 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}
|
address ${VAR_FINAL_IPV4}
|
||||||
netmask ${VAR_FINAL_IPV4_SUBNET}
|
netmask ${VAR_FINAL_IPV4_SUBNET}
|
||||||
gateway ${VAR_FINAL_IPV4_GW}
|
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
|
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||||
EOF
|
EOF
|
||||||
@@ -177,7 +181,7 @@ EOF
|
|||||||
iface ${VAR_FINAL_NIC} inet6 static
|
iface ${VAR_FINAL_NIC} inet6 static
|
||||||
address ${VAR_FINAL_IPV6_CIDR}
|
address ${VAR_FINAL_IPV6_CIDR}
|
||||||
gateway ${VAR_FINAL_IPV6_GW}
|
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
|
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
@@ -14,6 +14,9 @@ guard_sourcing
|
|||||||
|
|
||||||
# TODO: sudo TOTP deactivation
|
# TODO: sudo TOTP deactivation
|
||||||
# TODO: PAM Module
|
# TODO: PAM Module
|
||||||
|
# TODO: Check Password activation
|
||||||
|
# TODO: Check expiration and other dates
|
||||||
|
# TODO: Logic
|
||||||
|
|
||||||
#######################################
|
#######################################
|
||||||
# Updating user accounts.
|
# Updating user accounts.
|
||||||
|
|||||||
Reference in New Issue
Block a user