From 3c5cb5737a3134bcc862bad6b7dd24ceff8cdd7a Mon Sep 17 00:00:00 2001 From: Mikhail Zholobov Date: Wed, 7 May 2014 08:58:53 +0400 Subject: [PATCH] Fixed public_network error [GH-116] --- lib/vagrant-parallels/driver/pd_8.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-parallels/driver/pd_8.rb b/lib/vagrant-parallels/driver/pd_8.rb index 353d633e..9b961cfb 100644 --- a/lib/vagrant-parallels/driver/pd_8.rb +++ b/lib/vagrant-parallels/driver/pd_8.rb @@ -127,7 +127,7 @@ def enable_adapters(adapters) # - in host-only (private) network it will be bridged to the 'vnicX' device # - in real bridge (public) network it will be bridged to the assigned device args.concat(["--type", "bridged", "--iface", adapter[:hostonly]]) - elsif adapter[:type] == :bridge + elsif adapter[:type] == :bridged args.concat(["--type", "bridged", "--iface", adapter[:bridge]]) elsif adapter[:type] == :shared args.concat(["--type", "shared"])