Skip to content

Commit 0b09cfe

Browse files
committed
add buster backports
1 parent faff34a commit 0b09cfe

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ If the environment variable `PEERS` is set to a number, the container will run i
177177

178178
Variables `SERVERURL`, `SERVERPORT`, `INTERNAL_SUBNET` and `PEERDNS` are optional variables used for server mode. Any changes to these environment variables will trigger regeneration of server and peer confs. Peer/client confs will be recreated with existing private/public keys. Delete the peer folders for the keys to be recreated along with the confs.
179179

180-
To add more peers/clients later on, you can run `docker exec -it wireguard /app/add-peer` while the container is running.
180+
To add more peers/clients later on, you increment the `PEERS` environment variable and recreate the container.
181181

182182
To display the QR codes of active peers again, you can use the following command and list the peer numbers as arguments: `docker exec -it wireguard /app/show-peer 1 4 5` (Keep in mind that the QR codes are also stored as PNGs in the config folder).
183183

@@ -257,6 +257,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
257257

258258
## Versions
259259

260+
* **26.04.20:** - Add Buster backports repo for Debian.
260261
* **20.04.20:** - Fix typo in client mode conf existence check.
261262
* **13.04.20:** - Fix bug that forced conf recreation on every start.
262263
* **08.04.20:** - Add arm32/64 builds and enable multi-arch (rpi4 with ubuntu and raspbian buster tested). Add CoreDNS for `PEERDNS=auto` setting. Update the `add-peer`/`show-peer` scripts to utilize the templates and the `INTERNAL_SUBNET` var (previously missed, oops).

readme-vars.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ app_setup_block: |
6767
6868
Variables `SERVERURL`, `SERVERPORT`, `INTERNAL_SUBNET` and `PEERDNS` are optional variables used for server mode. Any changes to these environment variables will trigger regeneration of server and peer confs. Peer/client confs will be recreated with existing private/public keys. Delete the peer folders for the keys to be recreated along with the confs.
6969
70-
To add more peers/clients later on, you can run `docker exec -it wireguard /app/add-peer` while the container is running.
70+
To add more peers/clients later on, you increment the `PEERS` environment variable and recreate the container.
7171
7272
To display the QR codes of active peers again, you can use the following command and list the peer numbers as arguments: `docker exec -it wireguard /app/show-peer 1 4 5` (Keep in mind that the QR codes are also stored as PNGs in the config folder).
7373
@@ -78,6 +78,7 @@ app_setup_block: |
7878
7979
# changelog
8080
changelogs:
81+
- { date: "26.04.20:", desc: "Add Buster backports repo for Debian." }
8182
- { date: "20.04.20:", desc: "Fix typo in client mode conf existence check." }
8283
- { date: "13.04.20:", desc: "Fix bug that forced conf recreation on every start." }
8384
- { date: "08.04.20:", desc: "Add arm32/64 builds and enable multi-arch (rpi4 with ubuntu and raspbian buster tested). Add CoreDNS for `PEERDNS=auto` setting. Update the `add-peer`/`show-peer` scripts to utilize the templates and the `INTERNAL_SUBNET` var (previously missed, oops)." }

root/etc/cont-init.d/30-config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ elif uname -v | grep -q 'Debian'; then
3838
echo "Debian host detected, attempting to install kernel headers from Debian Buster repo"
3939
curl -s https://ftp-master.debian.org/keys/archive-key-10.asc | apt-key add -
4040
echo -e \
41-
"deb http://deb.debian.org/debian buster main contrib non-free\ndeb-src http://deb.debian.org/debian buster main contrib non-free" \
41+
"deb http://deb.debian.org/debian buster main contrib non-free\ndeb-src http://deb.debian.org/debian buster main contrib non-free\ndeb http://deb.debian.org/debian buster-backports main contrib non-free\ndeb-src deb http://deb.debian.org/debian buster-backports main contrib non-free" \
4242
> /etc/apt/sources.list.d/debian.list
4343
apt-get update
4444
if apt-cache show linux-headers-$(uname -r) 2&>1 >/dev/null; then

0 commit comments

Comments
 (0)