From d505a106fa02a1158fa10b3d0f5dd50875911040 Mon Sep 17 00:00:00 2001 From: Roman Dobosz Date: Sun, 12 Mar 2023 18:53:20 +0100 Subject: [PATCH] Updated createvm command. --- VBoxManage | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/VBoxManage b/VBoxManage index 999bc4e..1a568dc 100644 --- a/VBoxManage +++ b/VBoxManage @@ -1015,8 +1015,8 @@ _VBoxManage() { ;; createvm) - items=(--name --groups --ostype --register --basefolder --uuid - --default) + items=( --basefolder --ciphercipher --default --group --name --ostype + --password-idpassword-id --passwordfile --register --uuid ) if [[ ${prev} == ${cmd} ]]; then COMPREPLY=( $(compgen -W "${items[*]}" -- ${cur}) ) else @@ -1024,7 +1024,7 @@ _VBoxManage() { COMPREPLY=( $(compgen -W "$result" -- ${cur}) ) case "${prev}" in - --groups) + --group) COMPREPLY=() _group_comp ;; @@ -1035,9 +1035,8 @@ _VBoxManage() { --basefolder) COMPREPLY=( $(compgen -o dirnames -- ${cur}) ) ;; - --variant) - COMPREPLY=( $(compgen -W "Standard Fixed Split2G Stream - ESX" -- ${cur}) ) + --passwordfile) + COMPREPLY=( $(compgen -f -- ${cur}) ) ;; esac fi