remove mounts automatically
Also combined all these little mount and cleanup helpers into one `cleanup` script with flags.
This commit is contained in:
Vendored
+3
-1
@@ -15,6 +15,8 @@ else
|
||||
./create_environment
|
||||
fi
|
||||
|
||||
./mountpoints
|
||||
./cleanup add_mounts
|
||||
|
||||
chroot "$ROOT" sudo -iu user "$@"
|
||||
|
||||
./cleanup mounts
|
||||
|
||||
Reference in New Issue
Block a user