You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
396 B
Bash
22 lines
396 B
Bash
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
# TODO: Protect the rest of the filesystem/s (esp. writable parts outside .) from anything that happens in nethorror
|
|
|
|
mount -t tmpfs -o size=100M horror ./state
|
|
|
|
tmux new-session -t nethorror -d
|
|
|
|
# TODO: Set some sysctls in order not to interact with the networks
|
|
|
|
for net in networks/*; do
|
|
$net/up.sh
|
|
done
|
|
|
|
for mach in machines/*; do
|
|
$mach/run-shim.sh
|
|
done
|
|
|
|
tmux -N attach
|