commit 33360dd3e8ff9247e67b2e10f5d5d5176aeb1836
parent 7724aef675674bf53433ffbe0efd925f423238d9
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date: Tue, 23 Jun 2015 18:19:06 +0200
truncate fs label to fit in 12 characters XFS provides
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zsh-functions/confz_vserver_init b/zsh-functions/confz_vserver_init
@@ -67,7 +67,7 @@ confz_vserver_check() {
require mounted_volume :size \?filesystem \
lv_name=vs_$vars[name] \
- label=$vars[name] \
+ label=${${vars[name]}[0,12]} \
mountpoint=$vars[vdir]
require deployed_system :source path=${vars[vdir]}