diff --git a/cleanup.sh b/cleanup.sh index ea395c3..f56f25e 100755 --- a/cleanup.sh +++ b/cleanup.sh @@ -2,11 +2,4 @@ set -eu -for mach in machines/*; do - statedir="state/${mach##*/}" - rm -rvf "$statedir" -done - -for net in networks/*; do - test -e $net/down.sh && $net/down.sh -done +echo "nothing to do, namespaces gone." diff --git a/init.sh b/init.sh index 9186ccd..f832910 100755 --- a/init.sh +++ b/init.sh @@ -2,6 +2,8 @@ set -eu +mount -t tmpfs -o size=100M horror ./state + for net in networks/*; do $net/up.sh done