From 48d1cb8e9cdb580b5a8e87ecb4f333cf85b1aa5b Mon Sep 17 00:00:00 2001 From: Werner Beroux Date: Sat, 22 Mar 2014 14:25:56 +0100 Subject: [PATCH] Add VBoxManager modifyhd auto-complete. --- src/_virtualbox | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/_virtualbox b/src/_virtualbox index 646711a..de0e35a 100644 --- a/src/_virtualbox +++ b/src/_virtualbox @@ -193,6 +193,16 @@ _vboxmanage() { :machine:_vboxmachines \ :modifyvm_option:_vboxopts_modifyvm ;; + modifyhd) + _arguments \ + :filename:_files \ + '--type:hd type:(normal writethrough immutable shareable readonly multiattach)' \ + '--autoreset:on off:(on off)' \ + '--property: :' \ + '--compact' \ + '--resize:megabytes:' \ + '--resizebyte:bytes:' + ;; import) _arguments \ ':ovf file:_files -g \*.{ovf,ova}' \