1
0
mirror of https://github.com/tonarino/innernet.git synced 2025-01-08 04:04:48 +02:00
innernet/docker-tests/start-client.sh
2021-05-20 03:16:48 +09:00

17 lines
309 B
Bash
Executable File

#!/bin/bash
set -e
DEFAULT_ARGS="--backend userspace"
INTERFACE="${INTERFACE:-innernet}"
innernet $DEFAULT_ARGS install \
--name "$INTERFACE" \
--delete-invite \
--no-write-hosts \
/app/invite.toml
while true; do
innernet $DEFAULT_ARGS up --no-write-hosts "$INTERFACE"
sleep 1
done