Skip to content

Commit

Permalink
Add gui mode for parallels
Browse files Browse the repository at this point in the history
Fixed #56
  • Loading branch information
mblaschke committed Feb 24, 2017
1 parent 255432c commit 4edd92f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,13 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
v.cpus = configuration['VM']['cpu']
v.update_guest_tools = true

if configuration['VM']['gui']
v.customize ["set", :id, "--startup-view", "window"]
v.customize ["set", :id, "--on-window-close", "suspend"]
else
v.customize ["set", :id, "--startup-view", "headless"]
end

v.customize(
"post-import", [
"set", :id,
Expand Down

0 comments on commit 4edd92f

Please sign in to comment.