diff --git a/make-shares b/make-shares index 84321dd..7360397 100755 --- a/make-shares +++ b/make-shares @@ -23,7 +23,7 @@ fi for ct in $CT_DIR/*.conf ; do id=$(basename ${ct/.conf/}) - host=$(cat $ct | grep hostname | head -1) + host=$(ct2hostname) host=${host/hostname: /} # skip templates...