remove mounts automatically

Also combined all these little mount and cleanup helpers into one
`cleanup` script with flags.
This commit is contained in:
Jarvis Carroll
2025-05-24 00:05:26 +10:00
parent 28de550295
commit 3898aa52be
6 changed files with 108 additions and 84 deletions
+3 -1
View File
@@ -15,6 +15,8 @@ else
./create_environment
fi
./mountpoints
./cleanup add_mounts
chroot "$ROOT" sudo -iu user "$@"
./cleanup mounts