From df742603cbef7a9fa250f5d4b815c546cdc717a8 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Tue, 21 Jan 2020 15:40:54 -0800 Subject: [PATCH] Add code comment about when SATA controller has no more open ports --- plugins/providers/virtualbox/cap/configure_disks.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/providers/virtualbox/cap/configure_disks.rb b/plugins/providers/virtualbox/cap/configure_disks.rb index b9e51d4fe..076672b4a 100644 --- a/plugins/providers/virtualbox/cap/configure_disks.rb +++ b/plugins/providers/virtualbox/cap/configure_disks.rb @@ -148,7 +148,8 @@ module VagrantPlugins dsk_info[:port] = next_available_port.to_s if dsk_info[:port] == "" - LOGGER.warn("There are no more available ports to attach disks to for the SATA Controller. Clear up some space to attach new disks.") + # This likely only occurs if additional disks have been added outside of Vagrant configuration + LOGGER.warn("There are no more available ports to attach disks to for the SATA Controller. Clear up some space on the SATA controller to attach new disks.") end dsk_info