Merge branch 'feature/auto-login'

This commit is contained in:
Michael Lipp 2025-03-06 11:45:36 +01:00
commit 607379b06d
8 changed files with 190 additions and 60 deletions

View file

@ -41,7 +41,7 @@ for number in $(seq 1 $count); do
if [ -z "$prefix" ]; then
prefix=$(basename $template .tpl.yaml)
fi
name="$prefix$number"
name="$prefix$(printf %03d $number)"
index=$(($number - 1))
esh -o $destination/$name.yaml $template number=$number index=$index
done