mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
update startup script and change netplan to true. (#1201)
Co-authored-by: Daniel Hansson <github@hanssonit.se> Co-authored-by: AmirHossein Goodarzi <a.goodarzi@alibaba.ir>
This commit is contained in:
parent
9e73a372d9
commit
49757254ad
@ -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..."
|
||||
|
||||
@ -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:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user