wesher/tests/entrypoint.sh

12 lines
296 B
Bash
Raw Normal View History

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
# 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=' "$@"