mirror of
https://github.com/thelittlerocket/pve.git
synced 2024-11-15 19:44:38 +08:00
Update install_pve.sh
This commit is contained in:
parent
6dadfe3f1f
commit
1191564b6b
1 changed files with 1 additions and 1 deletions
|
@ -275,8 +275,8 @@ if grep -q "source /etc/network/interfaces.d/*" /etc/network/interfaces; then
|
|||
netmask $subnet\n\
|
||||
gateway $gateway\n\
|
||||
dns-nameservers 8.8.8.8 8.8.4.4" /etc/network/interfaces.d/50-cloud-init
|
||||
chattr +i /etc/network/interfaces.d/50-cloud-init
|
||||
fi
|
||||
chattr +i /etc/network/interfaces.d/50-cloud-init
|
||||
fi
|
||||
fi
|
||||
systemctl restart networking
|
||||
|
|
Loading…
Reference in a new issue