Fixed initial DNS resolution. Fixed Cisco AnyConnect connection issue

This commit is contained in:
Illia Chub 2021-09-29 16:10:14 +03:00
parent 008baea886
commit 66b8fd903d

View file

@ -776,6 +776,9 @@ dns = 1.1.1.1
dns = 1.0.0.1
route = default
cisco-client-compat = true
'';
};
}
@ -1338,6 +1341,10 @@ infect() {
apt update
apt install -y git whois
cat > /etc/resolv.conf << EOF
nameserver 1.1.1.1
nameserver 1.0.0.1
EOF
prepareEnv
makeSwap # smallest (512MB) droplet needs extra memory!
checkEnv
@ -1347,4 +1354,4 @@ removeSwap
if [[ -z "$NO_REBOOT" ]]; then
reboot
fi
fi