reuse existing interface instead of erroring out

This commit is contained in:
Leo Antunes
2019-07-14 12:59:54 +02:00
parent 1f15a6d4f2
commit 9523ca624a
2 changed files with 2 additions and 18 deletions

View File

@ -6,7 +6,5 @@ mkdir -p /dev/net
mknod /dev/net/tun c 10 200
wireguard-go wgoverlay
# this disables kernel-mode interface creation; see wireguard.go:createWgInterface()
export WESHER_E2E_TESTS=1
/app/wesher --log-level debug --cluster-key 'ILICZ3yBMCGAWNIq5Pn0bewBVimW3Q2yRVJ/Be+b1Uc=' "$@"