From 49757254addee18e0561ce5e1dca84ddd39e8ca7 Mon Sep 17 00:00:00 2001 From: AmirHossein Goodarzi Date: Mon, 4 May 2020 20:17:25 +0430 Subject: [PATCH] update startup script and change netplan to true. (#1201) Co-authored-by: Daniel Hansson Co-authored-by: AmirHossein Goodarzi --- nextcloud-startup-script.sh | 4 ++-- static/static_ip.sh | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) 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: