Skip to content

Commit

Permalink
Merge pull request #1 from jhx/add_support_to_customize_parallels_vag…
Browse files Browse the repository at this point in the history
…rantfile

Add support to customize Parallels Vagrantfile
  • Loading branch information
jhx committed Mar 21, 2014
2 parents f463014 + f061f1b commit 9c48d5d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/Vagrantfile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Vagrant.configure("2") do |c|
<% case config[:provider]
when "virtualbox" %>
p.customize ["modifyvm", :id, "--<%= key %>", "<%= value %>"]
<% when "parallels" %>
p.customize ["set", :id, "--<%= key.to_s.gsub('_', '-') %>", "<%= value %>"]
<% when "rackspace", "softlayer" %>
p.<%= key %> = "<%= value%>"
<% when /^vmware_/ %>
Expand Down

0 comments on commit 9c48d5d

Please sign in to comment.