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-lvm-mount
diff --git a/host/part-lvm-mount
b/host/part-lvm-mount
new file mode 100755
(executable)
index 0000000..
16a93c1
--- /dev/null
+++ b/
host/part-lvm-mount
@@ -0,0
+1,10
@@
+#!/bin/sh -eu
+tool=$(readlink -e "${0%/*}/..")
+. "$tool"/host/lib.sh
+
+case $vm_use_lvm in
+ (yes)
+ sudo vgchange -a y $vm_lvm_vg
+ ;;
+ (*) exit 1;;
+ esac