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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-08-28 21:19:11 +02:00
parent 911c69a20c
commit 006cd45631
2 changed files with 21 additions and 15 deletions

View File

@@ -497,26 +497,26 @@ network:
enable: true # If you want the preconfiguration file to work on systems both with and without a dhcp
# server, change 'network.static.enable' from "false" to "true" and configure the static
# configuration below.
ipv4address: "192.168.128.128"
ipv4netmask: "255.255.255.0"
ipv4gateway: "192.168.128.254"
ipv4address: ""
ipv4netmask: ""
ipv4gateway: ""
ipv4nameserver:
- "135.181.207.105" # dns01.eddns.eu
- "89.58.62.53" # dns02.eddns.de
- "138.199.237.109" # dns03.eddns.eu
ipv4nameserver_fallback:
- "176.9.93.198" # dnsforge.de
- "176.9.1.117" # dnsforge.de
ipv6address: ""
ipv6netmask: ""
ipv6gateway: ""
ipv4nameserver_fallback: # Only three DNS Resolvers in total are recommended.
#- "176.9.93.198" # dnsforge.de
#- "176.9.1.117" # dnsforge.de
ipv6address: "2a03:4000:10:d43:188:68:34:243"
ipv6netmask: "128"
ipv6gateway: "fe80::1"
ipv6nameserver:
- "2a01:4f9:c012:a813:135:181:207:105"
- "2a0a:4cc0:1:e6:89:58:62:53"
- "2a01:4f8:c013:8011:138:199:237:109"
ipv6nameserver_fallback:
- "2a01:4f8:151:34aa::198"
- "2a01:4f8:141:316d::117"
ipv6nameserver_fallback: # Only three DNS Resolvers in total are recommended.
#- "2a01:4f8:151:34aa::198"
#- "2a01:4f8:141:316d::117"
################################################################################################################################
# Security settings

View File

@@ -61,6 +61,7 @@ yaml_validator() {
ensure_lowercase "network_choose_interface_auto"
ensure_lowercase "network_choose_interface_static"
ensure_lowercase "network_hostname"
ensure_lowercase "network_static_enable"
# shellcheck disable=SC2034
[[ -v network_static_ipv4nameserver_0 ]] && ARY_IPV4_NS+=( "${network_static_ipv4nameserver_0}" )
@@ -143,7 +144,7 @@ yaml_validator() {
do_log "info" "file_only" "1252() Live environment network check: Auto FQDN ='${var_auto_fqdn}'."
### Export hostname and IPv4 and IPv6 addresses for further processing according to dynamic results and preseed.yaml settings.
if [[ "${network_autoconfig_enable}" == "true" && -z "${network_static_ipv4address}" ]]; then
if [[ "${network_autoconfig_enable}" == "true" ]]; then
# shellcheck disable=SC2034
VAR_FINAL_NIC="${var_auto_nic}"
@@ -158,7 +159,7 @@ yaml_validator() {
do_log "info" "file_only" "1252() Network IPv4 auto configuration: [${network_autoconfig_enable}] and IPv4 Link: [${var_link_ipv4}]."
elif [[ "${network_autoconfig_enable}" == "false" && -n "${network_static_ipv4address}" ]]; then
elif [[ "${network_autoconfig_enable}" == "false" ]]; then
# shellcheck disable=SC2034
VAR_FINAL_NIC="${network_choose_interface_static}"
@@ -173,9 +174,14 @@ yaml_validator() {
do_log "info" "file_only" "1252() Network IPv4 static configuration: [${network_static_ipv4address}] and IPv4 Link: [${var_link_ipv4}]."
elif [[ "${network_autoconfig_enable}" == "false" && -z "${network_static_ipv4address}" ]]; then
do_log "info" "file_only" "1252() Network IPv4: no IPv4 configuration applied."
fi
if [[ "${var_link_ipv6}" == "true" && "${network_autoconfig_enable}" == "true" && "${network_ipv6}" == "true" && -z "${network_static_ipv6address}" ]]; then
if [[ "${network_autoconfig_enable}" == "true" && "${network_ipv6}" == "true" && -z "${network_static_ipv6address}" ]]; then
# shellcheck disable=SC2034
VAR_FINAL_IPV6="${var_auto_ipv6}"