2019-07-12 11:08:41 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
mkdir -p /dev/net
|
|
|
|
mknod /dev/net/tun c 10 200
|
|
|
|
|
|
|
|
wireguard-go wgoverlay
|
2019-07-13 11:01:50 +02:00
|
|
|
# this disables kernel-mode interface creation; see wireguard.go:createWgInterface()
|
2019-07-12 11:08:41 +02:00
|
|
|
export WESHER_E2E_TESTS=1
|
|
|
|
|
|
|
|
/app/wesher --log-level debug --cluster-key 'ILICZ3yBMCGAWNIq5Pn0bewBVimW3Q2yRVJ/Be+b1Uc=' "$@"
|