From 416ab1c2ef1af9edda769bd141169e85dcac0b26 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Thu, 2 Jan 2020 20:34:42 +0100 Subject: [PATCH] :fire: Remove unused config mapping --- wireguard/config.json | 39 +++++++++++---------------------------- 1 file changed, 11 insertions(+), 28 deletions(-) diff --git a/wireguard/config.json b/wireguard/config.json index 1442816..68951c8 100755 --- a/wireguard/config.json +++ b/wireguard/config.json @@ -5,13 +5,7 @@ "description": "Fast, modern, secure VPN tunnel", "url": "https://github.com/hassio-addons/addon-wireguard", "startup": "application", - "arch": [ - "aarch64", - "amd64", - "armhf", - "armv7", - "i386" - ], + "arch": ["aarch64", "amd64", "armhf", "armv7", "i386"], "ports": { "80/tcp": null, "51820/udp": 51820 @@ -23,33 +17,22 @@ "boot": "auto", "hassio_api": true, "hassio_role": "default", - "privileged": [ - "NET_ADMIN" - ], - "devices": [ - "/dev/net/tun:/dev/net/tun:rwm" - ], - "map": [ - "config", - "ssl:rw" - ], + "privileged": ["NET_ADMIN"], + "devices": ["/dev/net/tun:/dev/net/tun:rwm"], + "map": ["ssl:rw"], "options": { "server": { "host": "myautomatedhome.duckdns.org", - "addresses": [ - "172.27.66.1" - ], + "addresses": ["172.27.66.1"], "dns": [] }, "peers": [ - { - "name": "hassio", - "addresses": [ - "172.27.66.2" - ], - "allowed_ips": [], - "client_allowed_ips": [] - } + { + "name": "hassio", + "addresses": ["172.27.66.2"], + "allowed_ips": [], + "client_allowed_ips": [] + } ] }, "schema": {