mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-09 00:32:06 -04:00
Merge pull request #13587 from betalb/vbox-virtio-scsi-controller
Add VirtioSCSI to the list of supported storage controllers for VirtualBox
This commit is contained in:
commit
502644ea46
2 changed files with 3 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ module VagrantPlugins
|
|||
class StorageController
|
||||
IDE_CONTROLLER_TYPES = ["PIIX4", "PIIX3", "ICH6"].map(&:freeze).freeze
|
||||
SATA_CONTROLLER_TYPES = ["IntelAhci"].map(&:freeze).freeze
|
||||
SCSI_CONTROLLER_TYPES = [ "LsiLogic", "BusLogic"].map(&:freeze).freeze
|
||||
SCSI_CONTROLLER_TYPES = ["LsiLogic", "BusLogic", "VirtioSCSI"].map(&:freeze).freeze
|
||||
|
||||
IDE_DEVICES_PER_PORT = 2.freeze
|
||||
SATA_DEVICES_PER_PORT = 1.freeze
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ module VagrantPlugins
|
|||
|
||||
if !controller
|
||||
raise Vagrant::Errors::VirtualBoxDisksNoSupportedControllers,
|
||||
supported_types: supported_types.join(" ,")
|
||||
supported_types: supported_types.join(", ")
|
||||
end
|
||||
|
||||
controller
|
||||
|
|
@ -67,7 +67,7 @@ module VagrantPlugins
|
|||
controller = ordered.first
|
||||
if !controller
|
||||
raise Vagrant::Errors::VirtualBoxDisksNoSupportedControllers,
|
||||
supported_types: supported_types.join(" ,")
|
||||
supported_types: supported_types.join(", ")
|
||||
end
|
||||
|
||||
controller
|
||||
|
|
|
|||
Loading…
Reference in a new issue