From fdc17536f4a0879a7ad7d42f64cf2b3180abccb8 Mon Sep 17 00:00:00 2001 From: Roger Gonzalez Date: Thu, 19 Oct 2023 17:52:51 -0300 Subject: Removed all the gluetun countries configuration --- docker-compose.example.yaml | 1 - install.sh | 9 --------- 2 files changed, 10 deletions(-) diff --git a/docker-compose.example.yaml b/docker-compose.example.yaml index 0f2c82a..5605e37 100644 --- a/docker-compose.example.yaml +++ b/docker-compose.example.yaml @@ -148,7 +148,6 @@ services: - VPN_TYPE=openvpn - OPENVPN_USER= - OPENVPN_PASSWORD= - - SERVER_COUNTRIES= - OPENVPN_CIPHERS=AES-256-GCM restart: unless-stopped diff --git a/install.sh b/install.sh index 2a14084..556d697 100755 --- a/install.sh +++ b/install.sh @@ -186,11 +186,6 @@ if [ "$setup_vpn" == "y" ]; then fi done echo - - echo "What country do you want to use?" - echo "If you are using: NordVPN, Perfect Privacy, Private Internet Access, VyprVPN, WeVPN or Windscribe, then input a region" - read -p "You can check the countries/regions list for your VPN here: https://github.com/qdm12/gluetun/wiki/$vpn_service#servers [brazil]: " vpn_country - vpn_country=${vpn_country:-"brazil"} fi echo "Configuring the docker-compose file for the user \"$username\" on \"$install_location\"..." @@ -228,15 +223,11 @@ sed -i -e "s;;$install_location;g" "$filename" if [ "$setup_vpn" == "y" ]; then sed -i -e "s;;$vpn_service;g" "$filename" sed -i -e "s;;$vpn_user;g" "$filename" - sed -i -e "s;;$vpn_country;g" "$filename" sed -i -e "s;;$vpn_password;g" "$filename" sed -i -e "s;#network_mode: \"service:gluetun\";network_mode: \"service:gluetun\";g" "$filename" sed -i -e "s;ports: # qbittorrent;#port: # qbittorrent;g" "$filename" sed -i -e "s;- 8080:8080 # qbittorrent;#- 8080:8080 # qbittorrent;g" "$filename" sed -i -e "s;#- 8080:8080/tcp # gluetun;- 8080:8080/tcp # gluetun;g" "$filename" - if echo "nordvpn perfect privacy private internet access vyprvpn wevpn windscribe" | grep -qw "$vpn_service"; then - sed -i -e "s;SERVER_COUNTRIES;SERVER_REGIONS;g" "$filename" - fi fi # Set yams script -- cgit v1.2.3