dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modification : vm_{host,hosted,remote} -> {host,local,remote}/ .
[lhc/ateliers.git]
/
host
/
part-boot-umount
diff --git a/host/part-boot-umount
b/host/part-boot-umount
new file mode 100755
(executable)
index 0000000..
bc09e4d
--- /dev/null
+++ b/
host/part-boot-umount
@@ -0,0
+1,6
@@
+#!/bin/sh -eu
+tool=$(readlink -e "${0%/*}/..")
+. "$tool"/host/lib.sh
+
+! mountpoint -q /mnt/$vm_fqdn/boot ||
+sudo umount -v /mnt/$vm_fqdn/boot