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:
Chris Roberts 2025-03-20 08:17:02 -07:00 committed by GitHub
commit 502644ea46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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