commit 3fbed1dd10b9306a65d8f4cedebaed1af0f7db39
parent 34a53c3db4210f8a96547096d11c35424e8f8b81
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date: Thu, 19 Jun 2014 18:59:31 +0200
use vs_ prefix for vserver volumes
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/zsh-functions/confz_vserver_init b/zsh-functions/confz_vserver_init
@@ -60,7 +60,9 @@ confz_vserver_check() {
[[ -h ${vars[etcdir]}/vdir ]] || ret=1
require mounted_volume :size :filesystem \
- lv_name=${vars[name]} mountpoint=${vars[vdir]}
+ lv_name=vs_${vars[name]} \
+ mountpoint=${vars[vdir]}
+
require deployed_system :source path=${vars[vdir]}
return $ret