Merge pull request #7587 from alexmv/disabled-conflicts
Skip checking for conflicts on ports that are disabled
This commit is contained in:
commit
8f10dbca90
|
@ -93,6 +93,11 @@ module Vagrant
|
|||
guest_port = options[:guest]
|
||||
host_port = options[:host]
|
||||
|
||||
if options[:disabled]
|
||||
@logger.debug("Skipping disabled port #{host_port}.")
|
||||
next
|
||||
end
|
||||
|
||||
if options[:protocol] && options[:protocol] != "tcp"
|
||||
@logger.debug("Skipping #{host_port} because UDP protocol.")
|
||||
next
|
||||
|
|
Loading…
Reference in New Issue