Update linupx-scripts.sh
This commit is contained in:
@@ -813,7 +813,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.5,10.2.1.2]
|
addresses: [10.10.10.11,10.10.10.10]
|
||||||
" > /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
|
||||||
@@ -836,8 +836,8 @@ ONBOOT=yes
|
|||||||
IPADDR=10.10.4.20
|
IPADDR=10.10.4.20
|
||||||
PREFIX=16
|
PREFIX=16
|
||||||
GATEWAY=10.10.0.1
|
GATEWAY=10.10.0.1
|
||||||
DNS1=10.10.10.5
|
DNS1=10.10.10.11
|
||||||
DNS2=10.2.1.2
|
DNS2=10.10.10.10
|
||||||
IPV6_DISABLED=yes
|
IPV6_DISABLED=yes
|
||||||
" > /etc/sysconfig/network-scripts/ifcfg-eth0
|
" > /etc/sysconfig/network-scripts/ifcfg-eth0
|
||||||
|
|
||||||
@@ -1058,8 +1058,8 @@ MISC_MENU() {
|
|||||||
echo
|
echo
|
||||||
if [ "$(IP_ALLOWED ${RNIP})" == "true" ]; then
|
if [ "$(IP_ALLOWED ${RNIP})" == "true" ]; then
|
||||||
echo -e " [${idsCL[Yellow]}U${idsCL[Default]}] Update copycerts.sh to new LB LE folder path "
|
echo -e " [${idsCL[Yellow]}U${idsCL[Default]}] Update copycerts.sh to new LB LE folder path "
|
||||||
echo -e " [${idsCL[Yellow]}D${idsCL[Default]}] Update DNS (10.10.10.5, 10.2.1.2)"
|
echo -e " [${idsCL[Yellow]}D${idsCL[Default]}] Update DNS (10.10.10.11, 10.10.10.10)"
|
||||||
echo -e " [${idsCL[Yellow]}O${idsCL[Default]}] Update Offsite DNS (10.2.1.2, 10.10.10.5)"
|
echo -e " [${idsCL[Yellow]}O${idsCL[Default]}] Update Offsite DNS (10.2.1.6, 10.2.1.5)"
|
||||||
echo -e " [${idsCL[Yellow]}C${idsCL[Default]}] Change copycerts to LB-Nodes"
|
echo -e " [${idsCL[Yellow]}C${idsCL[Default]}] Change copycerts to LB-Nodes"
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user