Discontinue use of the WireGuard PPA (#1855)

* Discontinue use of the WireGuard PPA

* Add instructions to update the system

* Change reboot instruction
pull/1858/head
David Myers 4 years ago committed by GitHub
parent 5fc738ba8b
commit 8894dd0848
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -39,7 +39,6 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt update -y sudo apt update -y
sudo add-apt-repository -yu ppa:wireguard/wireguard
sudo apt install -y \ sudo apt install -y \
python3-pip \ python3-pip \
lxd \ lxd \
@ -108,7 +107,6 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
set -x set -x
sudo add-apt-repository -yu ppa:wireguard/wireguard
sudo add-apt-repository -yu ppa:ubuntu-lxc/stable sudo add-apt-repository -yu ppa:ubuntu-lxc/stable
sudo apt update -y sudo apt update -y
sudo apt install -y \ sudo apt install -y \

@ -2,14 +2,16 @@
## Install WireGuard ## Install WireGuard
To connect to your AlgoVPN using [WireGuard](https://www.wireguard.com) from Ubuntu, first install WireGuard: To connect to your AlgoVPN using [WireGuard](https://www.wireguard.com) from Ubuntu, make sure your system is up-to-date then install WireGuard:
```shell ```shell
# Ubuntu 16.04 only: Add the WireGuard repository # Update your system:
sudo add-apt-repository ppa:wireguard/wireguard sudo apt update && sudo apt upgrade
sudo apt update
# Install the tools: # If the file /var/run/reboot-required exists then reboot:
[ -e /var/run/reboot-required ] && sudo reboot
# Install WireGuard:
sudo apt install wireguard openresolv sudo apt install wireguard openresolv
``` ```

@ -21,7 +21,7 @@ No. This project is under active development. We're happy to [accept and fix iss
## What's the current status of WireGuard? ## What's the current status of WireGuard?
[WireGuard reached "stable" 1.0.0 release](https://lists.zx2c4.com/pipermail/wireguard/2020-March/005206.html) in Spring 2020. It has undergone [substantial](https://www.wireguard.com/formal-verification/) security review. Releases are tagged with their build date -- "0.0.YYYYMMDD" -- and users should be advised to apply new updates when they are available. Your Algo server will automatically upgrade and restart WireGuard. For Ubuntu 18.04 LTS, it will retrieve updates from the [official WireGuard PPA for Ubuntu](https://launchpad.net/~wireguard/+archive/ubuntu/wireguard) by default. [WireGuard reached "stable" 1.0.0 release](https://lists.zx2c4.com/pipermail/wireguard/2020-March/005206.html) in Spring 2020. It has undergone [substantial](https://www.wireguard.com/formal-verification/) security review.
## Why aren't you using Tor? ## Why aren't you using Tor?

@ -1,5 +1,5 @@
--- ---
install_headers: true install_headers: false
aip_supported_providers: aip_supported_providers:
- digitalocean - digitalocean
snat_aipv4: false snat_aipv4: false

@ -1,4 +0,0 @@
// Automatically upgrade packages from these (origin:archive) pairs
Unattended-Upgrade::Allowed-Origins {
"LP-PPA-wireguard-wireguard:${distro_codename}";
};

@ -1,34 +1,10 @@
--- ---
- block:
- name: WireGuard repository configured
apt_repository:
repo: ppa:wireguard/wireguard
state: present
register: result
until: result is succeeded
retries: 10
delay: 3
- name: Configure unattended-upgrades
copy:
src: 50-wireguard-unattended-upgrades
dest: /etc/apt/apt.conf.d/50-wireguard-unattended-upgrades
owner: root
group: root
mode: 0644
when: ansible_facts['distribution_version'] is version('20.04', '<')
- name: WireGuard installed - name: WireGuard installed
apt: apt:
name: wireguard name: wireguard
state: present state: present
update_cache: true update_cache: true
- name: WireGuard reload-module-on-update
file:
dest: /etc/wireguard/.reload-module-on-update
state: touch
- name: Set OS specific facts - name: Set OS specific facts
set_fact: set_fact:
service_name: "wg-quick@{{ wireguard_interface }}" service_name: "wg-quick@{{ wireguard_interface }}"

Loading…
Cancel
Save