Update linupx-scripts.sh
This commit is contained in:
@@ -734,7 +734,7 @@ RECONFIGURE_NETWORK(){
|
|||||||
addresses: [10.10.4.20/16]
|
addresses: [10.10.4.20/16]
|
||||||
gateway4: 10.10.0.1
|
gateway4: 10.10.0.1
|
||||||
nameservers:
|
nameservers:
|
||||||
addresses: [10.10.10.10,10.10.10.11]
|
addresses: [10.10.10.10,10.10.10.11,10.2.1.2]
|
||||||
" > /etc/netplan/eth0.yaml >/dev/null 2>&1
|
" > /etc/netplan/eth0.yaml >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
netplan apply >/dev/null 2>&1
|
netplan apply >/dev/null 2>&1
|
||||||
@@ -759,6 +759,7 @@ PREFIX=16
|
|||||||
GATEWAY=10.10.0.1
|
GATEWAY=10.10.0.1
|
||||||
DNS1=10.10.10.10
|
DNS1=10.10.10.10
|
||||||
DNS2=10.10.10.11
|
DNS2=10.10.10.11
|
||||||
|
DNS3=10.2.1.2
|
||||||
IPV6_DISABLED=yes
|
IPV6_DISABLED=yes
|
||||||
" > /etc/sysconfig/network-scripts/ifcfg-eth0
|
" > /etc/sysconfig/network-scripts/ifcfg-eth0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user