mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-22 12:01:27 +00:00
Fixed initial DNS resolution. Fixed Cisco AnyConnect connection issue
This commit is contained in:
parent
008baea886
commit
66b8fd903d
|
@ -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
|
Loading…
Reference in a new issue