mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-25 21:11: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
|
dns = 1.0.0.1
|
||||||
|
|
||||||
route = default
|
route = default
|
||||||
|
|
||||||
|
cisco-client-compat = true
|
||||||
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1338,6 +1341,10 @@ infect() {
|
||||||
|
|
||||||
apt update
|
apt update
|
||||||
apt install -y git whois
|
apt install -y git whois
|
||||||
|
cat > /etc/resolv.conf << EOF
|
||||||
|
nameserver 1.1.1.1
|
||||||
|
nameserver 1.0.0.1
|
||||||
|
EOF
|
||||||
prepareEnv
|
prepareEnv
|
||||||
makeSwap # smallest (512MB) droplet needs extra memory!
|
makeSwap # smallest (512MB) droplet needs extra memory!
|
||||||
checkEnv
|
checkEnv
|
||||||
|
|
Loading…
Reference in a new issue