kernel/v2? more clever: default port to guest port

This commit is contained in:
Mitchell Hashimoto 2014-05-20 20:31:53 -07:00
parent 8856bab04b
commit f94b902023
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ module VagrantPlugins
@shell = "bash -l" if @shell == UNSET_VALUE
@default.username = "vagrant" if @default.username == UNSET_VALUE
@default.port = 22 if @default.port == UNSET_VALUE
@default.port = @guest_port if @default.port == UNSET_VALUE
@default.finalize!
end