Skip to content

Commit

Permalink
driver: fixed condition 'adapter type is shared'
Browse files Browse the repository at this point in the history
  • Loading branch information
legal90 committed Mar 2, 2014
1 parent faa7495 commit 078f58a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/vagrant-parallels/driver/pd_8.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion lib/vagrant-parallels/driver/pd_9.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 078f58a

Please sign in to comment.