mirror of
https://github.com/oneclickvirt/pve.git
synced 2024-11-10 09:12:44 +08:00
update
This commit is contained in:
parent
fec9a99ae0
commit
d32090d43b
1 changed files with 4 additions and 0 deletions
|
@ -18,3 +18,7 @@ else
|
|||
echo -e "nameserver 8.8.8.8\nnameserver 8.8.4.4\nnameserver 2606:4700:4700::1111\nnameserver 2001:4860:4860::8888\nnameserver 2001:4860:4860::8844" >>${RESOLV_CONF}
|
||||
fi
|
||||
fi
|
||||
sleep 3
|
||||
if grep -q "vmbr0" "/etc/network/interfaces"; then
|
||||
resolvconf -a vmbr0 < ${RESOLV_CONF}
|
||||
fi
|
Loading…
Reference in a new issue