Fixed initial DNS resolution. Fixed Cisco AnyConnect connection issue

pull/17/head
Illia Chub 2021-09-29 16:10:14 +03:00
parent 008baea886
commit 66b8fd903d
1 changed files with 8 additions and 1 deletions

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