Merge pull request #612 from kiendang/vboxmanage-medium

Update medium related commands for VBoxManage
This commit is contained in:
nicoulaj 2018-11-20 20:12:35 +01:00 committed by GitHub
commit 6215de5d9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -110,10 +110,10 @@ _vboxmanage() {
'storageattach:attaches/modifies/removes a storage medium connected to a storage controller'
'storagectl:attaches/modifies/removes a storage controller'
'bandwidthctl:creates/deletes/modifies bandwidth groups'
'showhdinfo:shows information about a virtual hard disk image'
'createhd:creates a new virtual hard disk image'
'modifyhd:change the characteristics of a disk image after it has been created'
'clonehd:duplicates a registered virtual hard disk image to a new image file with a new unique identifier'
'showmediuminfo:shows information about a virtual hard disk image'
'createmedium:creates a new virtual hard disk image'
'modifymedium:change the characteristics of a disk image after it has been created'
'clonemedium:duplicates a registered virtual hard disk image to a new image file with a new unique identifier'
'convertfromraw:converts a raw disk image to a VirtualBox Disk Image (VDI) file'
'getextradata:retrieve string data to a virtual machine or to a VirtualBox configuration'
'setextradata:attach string data to a virtual machine or to a VirtualBox configuration'
@ -171,7 +171,7 @@ _vboxmanage() {
:machine:_vboxmachines \
:modifyvm_option:_vboxopts_modifyvm
;;
modifyhd)
modifymedium|modifyhd)
_arguments \
:filename:_files \
'--type:hd type:(normal writethrough immutable shareable readonly multiattach)' \
@ -248,7 +248,7 @@ _vboxmanage() {
'--password: :' \
'--intnet: :'
;;
createhd)
createmedium|createhd)
_arguments \
'--filename:filename:_files -g \*.{vdi,vmdk,vhd}' \
'--size:megabytes:' \