mirror of
https://github.com/gryf/vboxmanage-bash-completion.git
synced 2025-12-17 03:20:20 +01:00
Updated unattended command
This commit is contained in:
26
VBoxManage
26
VBoxManage
@@ -1385,7 +1385,7 @@ _VBoxManage() {
|
|||||||
extpack)
|
extpack)
|
||||||
items=(install uninstall cleanup)
|
items=(install uninstall cleanup)
|
||||||
subcommand=${COMP_WORDS[2]}
|
subcommand=${COMP_WORDS[2]}
|
||||||
if [[ " ${items[@]} " == *" $subcommand "* ]]; then
|
if [[ " ${items[*]} " == *" $subcommand "* ]]; then
|
||||||
case "${subcommand}" in
|
case "${subcommand}" in
|
||||||
install)
|
install)
|
||||||
_get_excluded_items "--replace --accept-license"
|
_get_excluded_items "--replace --accept-license"
|
||||||
@@ -2803,19 +2803,17 @@ _VBoxManage() {
|
|||||||
if [[ ${prev} == ${subcommand} ]]; then
|
if [[ ${prev} == ${subcommand} ]]; then
|
||||||
_vms_comp vms
|
_vms_comp vms
|
||||||
else
|
else
|
||||||
local items=(--iso --user=login
|
local items=(--additions-iso
|
||||||
--password=password --password-file
|
--auxiliary-base-path --country --dry-run
|
||||||
--full-user-name --key
|
--extra-install-kernel-parameters
|
||||||
--install-additions --no-install-additions
|
--full-user-name --hostname --image-index
|
||||||
--additions-iso --install-txs --no-install-txs
|
--install-additions --install-txs --iso --key
|
||||||
--validation-kit-iso --locale --country
|
--language --locale --no-install-additions
|
||||||
--time-zone --hostname
|
--no-install-txs --package-selection-adjustment
|
||||||
--package-selection-adjustment --dry-run
|
--password --password-file
|
||||||
--auxiliary-base-path=path --image-index
|
--post-install-command --post-install-template
|
||||||
--script-template --post-install-template
|
--script-template --start-vm --time-zone --user
|
||||||
--post-install-command
|
--validation-kit-iso)
|
||||||
--extra-install-kernel-parameters --language
|
|
||||||
--start-vm)
|
|
||||||
_get_excluded_items "${items[@]}"
|
_get_excluded_items "${items[@]}"
|
||||||
COMPREPLY=( $(compgen -W "$result" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "$result" -- ${cur}) )
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user