diff --git a/lib/vagrant-parallels/driver/pd_8.rb b/lib/vagrant-parallels/driver/pd_8.rb index 07cd07ca..30eef64d 100644 --- a/lib/vagrant-parallels/driver/pd_8.rb +++ b/lib/vagrant-parallels/driver/pd_8.rb @@ -131,7 +131,7 @@ def enable_adapters(adapters) args.concat(["--type", "bridged", "--iface", adapter[:bound_to]]) end - if adapter[:shared] + if adapter[:type] == :shared args.concat(["--type", "shared"]) end diff --git a/lib/vagrant-parallels/driver/pd_9.rb b/lib/vagrant-parallels/driver/pd_9.rb index b11f0dac..ee24a904 100644 --- a/lib/vagrant-parallels/driver/pd_9.rb +++ b/lib/vagrant-parallels/driver/pd_9.rb @@ -131,7 +131,7 @@ def enable_adapters(adapters) args.concat(["--type", "bridged", "--iface", adapter[:bound_to]]) end - if adapter[:shared] + if adapter[:type] == :shared args.concat(["--type", "shared"]) end