mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-02-01 10:38:22 +08:00
Update ssh.sh
This commit is contained in:
parent
b2a38e51c5
commit
4a4097f1e8
1 changed files with 2 additions and 2 deletions
|
@ -4,10 +4,10 @@
|
|||
if [ -f "/etc/resolv.conf" ]
|
||||
then
|
||||
cp /etc/resolv.conf /etc/resolv.conf.bak
|
||||
sudo chattr -i /etc/resolv.conf
|
||||
chattr -i /etc/resolv.conf
|
||||
echo "nameserver 8.8.8.8" | tee -a /etc/resolv.conf > /dev/null
|
||||
echo "nameserver 8.8.4.4" | tee -a /etc/resolv.conf > /dev/null
|
||||
sudo chattr +i /etc/resolv.conf
|
||||
chattr +i /etc/resolv.conf
|
||||
fi
|
||||
|
||||
temp_file_apt_fix="/tmp/apt_fix.txt"
|
||||
|
|
Loading…
Reference in a new issue