]> git.proxmox.com Git - pve-container.git/commitdiff
pct create: add bash completion for storage parameter
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 1 Oct 2015 09:52:17 +0000 (11:52 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 1 Oct 2015 09:52:17 +0000 (11:52 +0200)
src/PVE/API2/LXC.pm

index 085a69683792b2eda65f4b32f4419973f7c8d779..acb6f3789f76d9df077b07b20a8ac312ab72b035 100644 (file)
@@ -125,6 +125,7 @@ __PACKAGE__->register_method({
                description => "Default Storage.",
                default => 'local',
                optional => 1,
+               completion => \&PVE::Storage::complete_storage_enabled,
            }),
            force => {
                optional => 1,