--- a/etc/bash_completion.d/vzctl.sh 2006-10-04 09:50:54.782547792 +0200 +++ b/etc/bash_completion.d/vzctl.sh 2006-10-05 10:30:39.701180320 +0200 @@ -105,7 +105,7 @@ case $prev in --ostemplate) # FIXME: get /vz/template from /etc/sysconfig/vz -, COMPREPLY=( $( compgen -W \ + COMPREPLY=( $( compgen -W \ "$(ls -1 /vz/template/cache/*.tar.gz | \ sed s/.tar.gz$//)" -- $cur ) ) ;;