Added more options for storagectl option

options --add and --controller now have additional options:

usb
pcie

for `--add` and

USB
NVMe

for `--controller'.
This commit is contained in:
2017-10-07 19:26:17 +02:00
parent f81bfe514f
commit 47e3ff6bbe

View File

@@ -2027,11 +2027,11 @@ _VBoxManage() {
case "${prev}" in case "${prev}" in
--add) --add)
COMPREPLY=( $(compgen -W "ide sata scsi floppy COMPREPLY=( $(compgen -W "ide sata scsi floppy
sas" -- ${cur}) ) sas usb pcie" -- ${cur}) )
;; ;;
--controller) --controller)
COMPREPLY=( $(compgen -W "LSILogic LSILogicSAS BusLogic COMPREPLY=( $(compgen -W "LSILogic LSILogicSAS BusLogic
IntelAHCI PIIX3 PIIX4 ICH6 I82078" -- ${cur}) ) IntelAHCI PIIX3 PIIX4 ICH6 I82078 USB NVMe" -- ${cur}) )
;; ;;
--bootable|--hostiocache) --bootable|--hostiocache)
COMPREPLY=( $(compgen -W "on off" -- ${cur}) ) COMPREPLY=( $(compgen -W "on off" -- ${cur}) )