mirror of
https://github.com/tonarino/innernet.git
synced 2025-01-08 04:04:48 +02:00
e2ea2ddded
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.
15 lines
245 B
Bash
Executable File
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
|