Skip to content

Commit 8894dd0

Browse files
authored
Discontinue use of the WireGuard PPA (#1855)
* Discontinue use of the WireGuard PPA * Add instructions to update the system * Change reboot instruction
1 parent 5fc738b commit 8894dd0

File tree

6 files changed

+9
-37
lines changed

6 files changed

+9
-37
lines changed

.github/workflows/main.yml

-2
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ jobs:
3939
- name: Install dependencies
4040
run: |
4141
sudo apt update -y
42-
sudo add-apt-repository -yu ppa:wireguard/wireguard
4342
sudo apt install -y \
4443
python3-pip \
4544
lxd \
@@ -108,7 +107,6 @@ jobs:
108107
- name: Install dependencies
109108
run: |
110109
set -x
111-
sudo add-apt-repository -yu ppa:wireguard/wireguard
112110
sudo add-apt-repository -yu ppa:ubuntu-lxc/stable
113111
sudo apt update -y
114112
sudo apt install -y \

docs/client-linux-wireguard.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22

33
## Install WireGuard
44

5-
To connect to your AlgoVPN using [WireGuard](https://www.wireguard.com) from Ubuntu, first install WireGuard:
5+
To connect to your AlgoVPN using [WireGuard](https://www.wireguard.com) from Ubuntu, make sure your system is up-to-date then install WireGuard:
66

77
```shell
8-
# Ubuntu 16.04 only: Add the WireGuard repository
9-
sudo add-apt-repository ppa:wireguard/wireguard
10-
sudo apt update
8+
# Update your system:
9+
sudo apt update && sudo apt upgrade
1110

12-
# Install the tools:
11+
# If the file /var/run/reboot-required exists then reboot:
12+
[ -e /var/run/reboot-required ] && sudo reboot
13+
14+
# Install WireGuard:
1315
sudo apt install wireguard openresolv
1416
```
1517

docs/faq.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ No. This project is under active development. We're happy to [accept and fix iss
2121

2222
## What's the current status of WireGuard?
2323

24-
[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.
24+
[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.
2525

2626
## Why aren't you using Tor?
2727

roles/common/defaults/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
install_headers: true
2+
install_headers: false
33
aip_supported_providers:
44
- digitalocean
55
snat_aipv4: false

roles/wireguard/files/50-wireguard-unattended-upgrades

-4
This file was deleted.

roles/wireguard/tasks/ubuntu.yml

-24
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,10 @@
11
---
2-
- block:
3-
- name: WireGuard repository configured
4-
apt_repository:
5-
repo: ppa:wireguard/wireguard
6-
state: present
7-
register: result
8-
until: result is succeeded
9-
retries: 10
10-
delay: 3
11-
12-
- name: Configure unattended-upgrades
13-
copy:
14-
src: 50-wireguard-unattended-upgrades
15-
dest: /etc/apt/apt.conf.d/50-wireguard-unattended-upgrades
16-
owner: root
17-
group: root
18-
mode: 0644
19-
when: ansible_facts['distribution_version'] is version('20.04', '<')
20-
212
- name: WireGuard installed
223
apt:
234
name: wireguard
245
state: present
256
update_cache: true
267

27-
- name: WireGuard reload-module-on-update
28-
file:
29-
dest: /etc/wireguard/.reload-module-on-update
30-
state: touch
31-
328
- name: Set OS specific facts
339
set_fact:
3410
service_name: "wg-quick@{{ wireguard_interface }}"

0 commit comments

Comments
 (0)