diff --git a/nextcloud-startup-script.sh b/nextcloud-startup-script.sh index 716fb35a..97ca234b 100644 --- a/nextcloud-startup-script.sh +++ b/nextcloud-startup-script.sh @@ -76,8 +76,8 @@ network: renderer: networkd ethernets: $IFACE: - dhcp4: yes - dhcp6: yes + dhcp4: true + dhcp6: true SETDHCP check_command netplan apply print_text_in_color "$ICyan" "Checking connection..." diff --git a/static/static_ip.sh b/static/static_ip.sh index dd422a63..67fbd77c 100644 --- a/static/static_ip.sh +++ b/static/static_ip.sh @@ -113,8 +113,8 @@ network: renderer: networkd ethernets: $IFACE: #object name - dhcp4: no # dhcp v4 disable - dhcp6: no # dhcp v6 disable + dhcp4: false # dhcp v4 disable + dhcp6: false # dhcp v6 disable addresses: [$LANIP] # client IP address gateway4: $GATEWAYIP # gateway address nameservers: @@ -132,8 +132,8 @@ network: renderer: networkd ethernets: $IFACE2: #object name - dhcp4: no # dhcp v4 disable - dhcp6: no # dhcp v6 disable + dhcp4: false # dhcp v4 disable + dhcp6: false # dhcp v6 disable addresses: [$ADDRESS/24] # client IP address gateway4: $GATEWAY # gateway address nameservers: