V8.00.000.2025.06.17
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -153,7 +153,7 @@ EOF
|
||||
|
||||
|
||||
### Configure network interfaces based on 'preseed.yaml' and create network configuration files for IPv6.
|
||||
if [[ "${network_autoconfig_enable}" == "true" && "${VAR_LINK_IPV6}" == "true" && -z "${network_static_ipv6address}" ]]; then
|
||||
if [[ "${network_autoconfig_enable}" == "true" && -z "${network_static_ipv6address}" ]]; then
|
||||
|
||||
insert_header "${TARGET}/etc/network/interfaces.d/10-ipv6-dhcp"
|
||||
insert_comments "${TARGET}/etc/network/interfaces.d/10-ipv6-dhcp"
|
||||
@@ -168,7 +168,7 @@ EOF
|
||||
chmod 0644 "${TARGET}/etc/network/interfaces.d/10-ipv6-dhcp"
|
||||
do_log "info" "file_only" "4300() IPv6 on the primary NIC: '${VAR_FINAL_NIC}' configured with DHCP."
|
||||
|
||||
elif [[ "${VAR_LINK_IPV6}" == "true" && -n "${network_static_ipv6address}" ]]; then
|
||||
elif [[ "${network_autoconfig_enable}" == "false" || -n "${network_static_ipv6address}" ]]; then
|
||||
|
||||
insert_header "${TARGET}/etc/network/interfaces.d/10-ipv6-static"
|
||||
insert_comments "${TARGET}/etc/network/interfaces.d/10-ipv6-static"
|
||||
|
||||
Reference in New Issue
Block a user