Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to customize Parallels Vagrantfile #1

Merged
merged 1 commit into from
Mar 21, 2014

Conversation

jhx
Copy link
Owner

@jhx jhx commented Mar 21, 2014

  • convert key from snake_case to dash-case (prevents ugly yaml using
    quoted keys)
  • the customize hash below should be considered as a default to allow one to
    close the vm window if Parallels Desktop is open:
- name: parallels-vm
 driver:
   provider: parallels
   box: parallels/centos-65
   customize:
     on_window_close: keep-running

converts to:

 c.vm.provider :parallels do |p|
   p.customize ["set", :id, "--on-window-close", "keep-running"]
 end

- convert key from snake_case to dash-case (prevents ugly yaml using
  quoted keys)
- the customize hash below should be considered as a default to allow one to
  close the vm window if Parallels Desktop is open:

```yaml
- name: parallels-vm
  driver:
    provider: parallels
    box: parallels/centos-65
    customize:
      on_window_close: keep-running
```

converts to:

```ruby
  c.vm.provider :parallels do |p|
    p.customize ["set", :id, "--on-window-close", "keep-running"]
  end
```
jhx added a commit that referenced this pull request Mar 21, 2014
…rantfile

Add support to customize Parallels Vagrantfile
@jhx jhx merged commit 9c48d5d into master Mar 21, 2014
@jhx jhx deleted the add_support_to_customize_parallels_vagrantfile branch March 21, 2014 00:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant