add bash completion for content type

This commit is contained in:
Dietmar Maurer
2015-10-01 07:12:07 +02:00
parent 37ba0aea5b
commit 98437f4c85
4 changed files with 9 additions and 0 deletions

View File

@ -27,6 +27,7 @@ my $defaultData = {
description => "Allowed content types. Note: value 'rootdir' is used for Containers, and value 'images' for KVM-Qemu VM's.\n",
type => 'string', format => 'pve-storage-content-list',
optional => 1,
completion => \&PVE::Storage::complete_content_type,
},
disable => {
description => "Flag to disable the storage.",