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
Jake McGinty e2ea2ddded
docker-tests: initial integration tests (#55)
Scripts that demonstrate building a network of docker containers, doubling as an integration test for innernet.

Includes a number of improvements to the recent non-interactive CLI changes as well.
2021-04-19 21:56:18 +09:00

15 lines
245 B
Bash
Executable File

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