mirror of
https://github.com/Noratrieb/vmlab.git
synced 2026-01-14 16:45:11 +01:00
wtf
This commit is contained in:
parent
f6c317b38b
commit
9e5ec91834
3 changed files with 20 additions and 9 deletions
|
|
@ -1,7 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -eu
|
||||
|
||||
SCRIPT=$(dirname "$0")
|
||||
BUILD="$SCRIPT/build"
|
||||
|
||||
sudo umount "$BUILD/chroot/"
|
||||
rm -r "$BUILD"
|
||||
sudo umount "$BUILD/chroot" || true
|
||||
|
||||
sudo umount "$BUILD/chroot/dev/pts" || true
|
||||
sudo umount "$BUILD/chroot/dev" || true
|
||||
sudo umount "$BUILD/chroot/sys" || true
|
||||
sudo umount "$BUILD/chroot/proc" || true
|
||||
sudo umount "$BUILD/chroot/run" || true
|
||||
|
||||
sudo rm -rf "$BUILD"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue