Added getextradata command

This commit is contained in:
2015-04-10 17:23:01 +02:00
parent 06657ebff5
commit 1fec6101ad
2 changed files with 8 additions and 1 deletions

1
README
View File

@@ -21,6 +21,7 @@ Current version of script was written and tested against VBoxManage in version
- discardstate - discardstate
- export - export
- extpack - extpack
- getextradata
- list - list
- showhdinfo - showhdinfo
- showvminfo - showvminfo

View File

@@ -7,7 +7,6 @@
# #
# [1] Sebastian T. Hafner <sonix@own-hero.net> # [1] Sebastian T. Hafner <sonix@own-hero.net>
# #
# [ ] getextradata
# [ ] guestcontrol # [ ] guestcontrol
# [ ] guestproperty # [ ] guestproperty
# [ ] hostonlyif # [ ] hostonlyif
@@ -816,6 +815,13 @@ _VBoxManage() {
fi fi
;; ;;
getextradata) getextradata)
if [[ ${prev} == ${cmd} ]]; then
COMPREPLY=( $(compgen -W "global" -- ${cur}) )
_vms_comp vms ${cur}
else
_get_excluded_items "enumerate"
COMPREPLY=( $(compgen -W "$result" -- ${cur}) )
fi
;; ;;
guestcontrol) guestcontrol)
;; ;;