mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-14 06:06:12 +00:00
<type/issue_no>: <subject>
Content of commit Fixes: #
This commit is contained in:
parent
b7457ae263
commit
4c81be7ead
@ -26,10 +26,11 @@ function run() {
|
|||||||
|
|
||||||
info "Update the host resolv.conf to add google DNS servers"
|
info "Update the host resolv.conf to add google DNS servers"
|
||||||
sudo mkdir -p /etc/resolvconf/resolv.conf.d
|
sudo mkdir -p /etc/resolvconf/resolv.conf.d
|
||||||
sudo cat >> /etc/resolvconf/resolv.conf.d/head<< EOF
|
sudo sh -c "cat >>/etc/resolvconf/resolv.conf.d/head" <<-EOF
|
||||||
nameserver 8.8.8.8
|
nameserver 8.8.8.8
|
||||||
nameserver 8.8.4.4
|
nameserver 8.8.4.4
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
sudo apt install resolvconf
|
sudo apt install resolvconf
|
||||||
sudo resolvconf --enable-updates
|
sudo resolvconf --enable-updates
|
||||||
sudo resolvconf -u
|
sudo resolvconf -u
|
||||||
|
Loading…
Reference in New Issue
Block a user