mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-03-03 17:27:17 +08:00
update
This commit is contained in:
parent
bb6a7a10f9
commit
9bc2e8813f
1 changed files with 1 additions and 1 deletions
|
@ -413,7 +413,7 @@ if [ ! -s "/etc/resolv.conf" ]
|
|||
then
|
||||
cp /etc/resolv.conf /etc/resolv.conf.bak
|
||||
chattr -i /etc/resolv.conf
|
||||
echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf > /dev/null
|
||||
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
|
||||
chattr +i /etc/resolv.conf
|
||||
fi
|
||||
wget ${cdn_success_url}https://raw.githubusercontent.com/spiritLHLS/pve/main/scripts/check-dns.sh -O /usr/local/bin/check-dns.sh
|
||||
|
|
Loading…
Reference in a new issue