vagrant-parallels 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/.travis.yml +7 -0
- data/README.md +5 -3
- data/debug.log +179 -0
- data/lib/vagrant-parallels/driver/prl_ctl.rb +2 -1
- data/lib/vagrant-parallels/plugin.rb +0 -39
- data/lib/vagrant-parallels/version.rb +1 -1
- data/lib/vagrant-parallels.rb +37 -0
- metadata +5 -3
data/.travis.yml
ADDED
data/README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1
1
|
# Vagrant Parallels Provider
|
2
|
+
[![Build Status](https://travis-ci.org/yshahin/vagrant-parallels.png?branch=master)](https://travis-ci.org/yshahin/vagrant-parallels)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/yshahin/vagrant-parallels.png)](https://codeclimate.com/github/yshahin/vagrant-parallels)
|
2
4
|
|
3
5
|
This is a [Vagrant](http://www.vagrantup.com) 1.3+ plugin that adds a [Parallels Desktop](http://www.parallels.com/products/desktop/)
|
4
6
|
provider to Vagrant, allowing Vagrant to control and provision machines using Parallels Desktop instead of the default Virtualbox.
|
@@ -62,7 +64,7 @@ provider-specific configuration for this provider.
|
|
62
64
|
|
63
65
|
## Networking
|
64
66
|
By default 'vagrant-parallels' uses the basic Vagrant networking approach. By default VM has one adapter assigned to the 'Shared' network in Parallels Desktop.
|
65
|
-
But you can also add one ore more `:private_network` adapters, as described below:
|
67
|
+
But you can also add one ore more `:private_network` adapters, as described below:
|
66
68
|
|
67
69
|
### Private Network
|
68
70
|
It is fully compatible with basic Vagrant [Private Networks](http://docs.vagrantup.com/v2/networking/private_network.html).
|
@@ -76,11 +78,11 @@ It is fully compatible with basic Vagrant [Private Networks](http://docs.vagrant
|
|
76
78
|
#### Example:
|
77
79
|
```ruby
|
78
80
|
Vagrant.configure("2") do |config|
|
79
|
-
config.vm.network :private_network, ip: "33.33.33.50", netmask: "255.255.0.0"
|
81
|
+
config.vm.network :private_network, ip: "33.33.33.50", netmask: "255.255.0.0"
|
80
82
|
config.vm.network :private_network, type: :dhcp, nic_type: "rtl"
|
81
83
|
end
|
82
84
|
```
|
83
|
-
It means that two private network adapters will be configured:
|
85
|
+
It means that two private network adapters will be configured:
|
84
86
|
1) The first will have static ip '33.33.33.50' and mask '255.255.0.0'. It will be represented as device `"e1000"` by default (e.g. 'Intel(R) PRO/1000 MT').
|
85
87
|
2) The second adapter will be configured as `"rtl"` ('Realtek RTL8029AS') and get an IP from internal DHCP server, which is working on the default network "10.37.129.1/255.255.255.0".
|
86
88
|
|
data/debug.log
ADDED
@@ -0,0 +1,179 @@
|
|
1
|
+
INFO global: Vagrant version: 1.3.5
|
2
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/commands/box/plugin.rb
|
3
|
+
INFO manager: Registered plugin: box command
|
4
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/commands/destroy/plugin.rb
|
5
|
+
INFO manager: Registered plugin: destroy command
|
6
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/commands/halt/plugin.rb
|
7
|
+
INFO manager: Registered plugin: halt command
|
8
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/commands/help/plugin.rb
|
9
|
+
INFO manager: Registered plugin: help command
|
10
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/commands/init/plugin.rb
|
11
|
+
INFO manager: Registered plugin: init command
|
12
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/commands/package/plugin.rb
|
13
|
+
INFO manager: Registered plugin: package command
|
14
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/commands/plugin/plugin.rb
|
15
|
+
INFO manager: Registered plugin: plugin command
|
16
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/commands/provision/plugin.rb
|
17
|
+
INFO manager: Registered plugin: provision command
|
18
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/commands/reload/plugin.rb
|
19
|
+
INFO manager: Registered plugin: reload command
|
20
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/commands/resume/plugin.rb
|
21
|
+
INFO manager: Registered plugin: resume command
|
22
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/commands/ssh/plugin.rb
|
23
|
+
INFO manager: Registered plugin: ssh command
|
24
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/commands/ssh_config/plugin.rb
|
25
|
+
INFO manager: Registered plugin: ssh-config command
|
26
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/commands/status/plugin.rb
|
27
|
+
INFO manager: Registered plugin: status command
|
28
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/commands/suspend/plugin.rb
|
29
|
+
INFO manager: Registered plugin: suspend command
|
30
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/commands/up/plugin.rb
|
31
|
+
INFO manager: Registered plugin: up command
|
32
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/communicators/ssh/plugin.rb
|
33
|
+
INFO manager: Registered plugin: ssh communicator
|
34
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/arch/plugin.rb
|
35
|
+
INFO manager: Registered plugin: Arch guest
|
36
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/coreos/plugin.rb
|
37
|
+
INFO manager: Registered plugin: CoreOS guest
|
38
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/darwin/plugin.rb
|
39
|
+
INFO manager: Registered plugin: Darwin guest
|
40
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/debian/plugin.rb
|
41
|
+
INFO manager: Registered plugin: Debian guest
|
42
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/esxi/plugin.rb
|
43
|
+
INFO manager: Registered plugin: ESXi guest.
|
44
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/fedora/plugin.rb
|
45
|
+
INFO manager: Registered plugin: Fedora guest
|
46
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/freebsd/plugin.rb
|
47
|
+
INFO manager: Registered plugin: FreeBSD guest
|
48
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/gentoo/plugin.rb
|
49
|
+
INFO manager: Registered plugin: Gentoo guest
|
50
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/linux/plugin.rb
|
51
|
+
INFO manager: Registered plugin: Linux guest.
|
52
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/omnios/plugin.rb
|
53
|
+
INFO manager: Registered plugin: OmniOS guest.
|
54
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/openbsd/plugin.rb
|
55
|
+
INFO manager: Registered plugin: OpenBSD guest
|
56
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/pld/plugin.rb
|
57
|
+
INFO manager: Registered plugin: PLD Linux guest
|
58
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/redhat/plugin.rb
|
59
|
+
INFO manager: Registered plugin: RedHat guest
|
60
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/solaris/plugin.rb
|
61
|
+
INFO manager: Registered plugin: Solaris guest.
|
62
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/solaris11/plugin.rb
|
63
|
+
INFO manager: Registered plugin: Solaris 11 guest.
|
64
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/suse/plugin.rb
|
65
|
+
INFO manager: Registered plugin: SUSE guest
|
66
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/guests/ubuntu/plugin.rb
|
67
|
+
INFO manager: Registered plugin: Ubuntu guest
|
68
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/hosts/arch/plugin.rb
|
69
|
+
INFO manager: Registered plugin: Arch host
|
70
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/hosts/bsd/plugin.rb
|
71
|
+
INFO manager: Registered plugin: BSD host
|
72
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/hosts/freebsd/plugin.rb
|
73
|
+
INFO manager: Registered plugin: FreeBSD host
|
74
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/hosts/gentoo/plugin.rb
|
75
|
+
INFO manager: Registered plugin: Gentoo host
|
76
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/hosts/linux/plugin.rb
|
77
|
+
INFO manager: Registered plugin: Linux host
|
78
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/hosts/opensuse/plugin.rb
|
79
|
+
INFO manager: Registered plugin: OpenSUSE host
|
80
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/hosts/redhat/plugin.rb
|
81
|
+
INFO manager: Registered plugin: Red Hat host
|
82
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/hosts/slackware/plugin.rb
|
83
|
+
INFO manager: Registered plugin: Slackware host
|
84
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/hosts/windows/plugin.rb
|
85
|
+
INFO manager: Registered plugin: Windows host
|
86
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/kernel_v1/plugin.rb
|
87
|
+
INFO manager: Registered plugin: kernel
|
88
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/kernel_v2/plugin.rb
|
89
|
+
INFO manager: Registered plugin: kernel
|
90
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/providers/virtualbox/plugin.rb
|
91
|
+
INFO manager: Registered plugin: VirtualBox provider
|
92
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/provisioners/ansible/plugin.rb
|
93
|
+
INFO manager: Registered plugin: ansible
|
94
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/provisioners/cfengine/plugin.rb
|
95
|
+
INFO manager: Registered plugin: CFEngine Provisioner
|
96
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/provisioners/chef/plugin.rb
|
97
|
+
INFO manager: Registered plugin: chef
|
98
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/provisioners/file/plugin.rb
|
99
|
+
INFO manager: Registered plugin: file
|
100
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/provisioners/puppet/plugin.rb
|
101
|
+
INFO manager: Registered plugin: puppet
|
102
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/provisioners/salt/plugin.rb
|
103
|
+
INFO manager: Registered plugin: salt
|
104
|
+
DEBUG global: Loading core plugin: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/plugins/provisioners/shell/plugin.rb
|
105
|
+
INFO manager: Registered plugin: shell
|
106
|
+
INFO vagrant: `vagrant` invoked: ["up", "default"]
|
107
|
+
DEBUG vagrant: Creating Vagrant environment
|
108
|
+
INFO environment: Environment initialized (#<Vagrant::Environment:0x007fc221e96480>)
|
109
|
+
INFO environment: - cwd: /Users/legal/Documents/vagrant-parallels
|
110
|
+
INFO environment: Home path: /Users/legal/.vagrant.d
|
111
|
+
INFO environment: Local data path: /Users/legal/Documents/vagrant-parallels/.vagrant
|
112
|
+
DEBUG environment: Creating: /Users/legal/Documents/vagrant-parallels/.vagrant
|
113
|
+
WARN environment: In a bundler environment, not loading environment plugins!
|
114
|
+
INFO environment: Running hook: environment_load
|
115
|
+
INFO environment: Initializing config...
|
116
|
+
INFO loader: Set :default = "/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/config/default.rb"
|
117
|
+
DEBUG loader: Populating proc cache for "/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/config/default.rb"
|
118
|
+
DEBUG loader: Load procs for pathname: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/config/default.rb
|
119
|
+
INFO loader: Set :root = #<Pathname:/Users/legal/Documents/vagrant-parallels/Vagrantfile>
|
120
|
+
DEBUG loader: Populating proc cache for #<Pathname:/Users/legal/Documents/vagrant-parallels/Vagrantfile>
|
121
|
+
DEBUG loader: Load procs for pathname: /Users/legal/Documents/vagrant-parallels/Vagrantfile
|
122
|
+
ERROR root: Failed to load plugin: vagrant-parallels
|
123
|
+
ERROR root: -- Error: #<RuntimeError: The Vagrant Parallels plugin is only compatible with Vagrant 1.4+>
|
124
|
+
ERROR root: -- Backtrace:
|
125
|
+
ERROR root: /Users/legal/Documents/vagrant-parallels/lib/vagrant-parallels/plugin.rb:10:in `<top (required)>'
|
126
|
+
/Users/legal/Documents/vagrant-parallels/lib/vagrant-parallels.rb:3:in `require'
|
127
|
+
/Users/legal/Documents/vagrant-parallels/lib/vagrant-parallels.rb:3:in `<top (required)>'
|
128
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant.rb:193:in `require'
|
129
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant.rb:193:in `require_plugin'
|
130
|
+
/Users/legal/Documents/vagrant-parallels/Vagrantfile:3:in `<top (required)>'
|
131
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config/loader.rb:198:in `load'
|
132
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config/loader.rb:198:in `block in procs_for_path'
|
133
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config.rb:53:in `block in capture_configures'
|
134
|
+
<internal:prelude>:10:in `synchronize'
|
135
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config.rb:48:in `capture_configures'
|
136
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config/loader.rb:196:in `procs_for_path'
|
137
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config/loader.rb:182:in `procs_for_source'
|
138
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config/loader.rb:57:in `block in set'
|
139
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config/loader.rb:51:in `each'
|
140
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config/loader.rb:51:in `set'
|
141
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/environment.rb:256:in `config_global'
|
142
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/environment.rb:513:in `block in action_runner'
|
143
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/action/runner.rb:28:in `call'
|
144
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/action/runner.rb:28:in `run'
|
145
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/environment.rb:274:in `hook'
|
146
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/environment.rb:135:in `initialize'
|
147
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/bin/vagrant:74:in `new'
|
148
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/bin/vagrant:74:in `<top (required)>'
|
149
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bin/vagrant:23:in `load'
|
150
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bin/vagrant:23:in `<main>'
|
151
|
+
ERROR vagrant: Vagrant experienced an error! Details:
|
152
|
+
ERROR vagrant: #<Vagrant::Errors::PluginLoadFailed: Failed to load the "vagrant-parallels" plugin. View logs for more details.>
|
153
|
+
ERROR vagrant: Failed to load the "vagrant-parallels" plugin. View logs for more details.
|
154
|
+
ERROR vagrant: /Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant.rb:225:in `rescue in require_plugin'
|
155
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant.rb:192:in `require_plugin'
|
156
|
+
/Users/legal/Documents/vagrant-parallels/Vagrantfile:3:in `<top (required)>'
|
157
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config/loader.rb:198:in `load'
|
158
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config/loader.rb:198:in `block in procs_for_path'
|
159
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config.rb:53:in `block in capture_configures'
|
160
|
+
<internal:prelude>:10:in `synchronize'
|
161
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config.rb:48:in `capture_configures'
|
162
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config/loader.rb:196:in `procs_for_path'
|
163
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config/loader.rb:182:in `procs_for_source'
|
164
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config/loader.rb:57:in `block in set'
|
165
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config/loader.rb:51:in `each'
|
166
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/config/loader.rb:51:in `set'
|
167
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/environment.rb:256:in `config_global'
|
168
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/environment.rb:513:in `block in action_runner'
|
169
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/action/runner.rb:28:in `call'
|
170
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/action/runner.rb:28:in `run'
|
171
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/environment.rb:274:in `hook'
|
172
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/lib/vagrant/environment.rb:135:in `initialize'
|
173
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/bin/vagrant:74:in `new'
|
174
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bundler/gems/vagrant-a40522f5fabc/bin/vagrant:74:in `<top (required)>'
|
175
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bin/vagrant:23:in `load'
|
176
|
+
/Users/legal/.rbenv/versions/1.9.3-p448/lib/ruby/gems/1.9.1/bin/vagrant:23:in `<main>'
|
177
|
+
Vagrant failed to initialize at a very early stage:
|
178
|
+
|
179
|
+
Failed to load the "vagrant-parallels" plugin. View logs for more details.
|
@@ -103,7 +103,8 @@ module VagrantPlugins
|
|
103
103
|
# 'Shared'(vnic0) and 'Host-Only'(vnic1) are default in Parallels Desktop
|
104
104
|
# They should not be deleted anyway.
|
105
105
|
networks.keep_if do |net|
|
106
|
-
net['Type'] == "host-only" &&
|
106
|
+
net['Type'] == "host-only" &&
|
107
|
+
net['Bound To'].match(/^(?>vnic|Parallels Host-Only #)(\d+)$/)[1].to_i >= 2
|
107
108
|
end
|
108
109
|
|
109
110
|
read_all_info.each do |vm|
|
@@ -22,10 +22,6 @@ module VagrantPlugins
|
|
22
22
|
|
23
23
|
provider(:parallels) do
|
24
24
|
require File.expand_path("../provider", __FILE__)
|
25
|
-
|
26
|
-
setup_logging
|
27
|
-
setup_i18n
|
28
|
-
|
29
25
|
Provider
|
30
26
|
end
|
31
27
|
|
@@ -34,41 +30,6 @@ module VagrantPlugins
|
|
34
30
|
Config
|
35
31
|
end
|
36
32
|
|
37
|
-
# This initializes the internationalization strings.
|
38
|
-
def self.setup_i18n
|
39
|
-
I18n.load_path << File.expand_path("locales/en.yml", Parallels.source_root)
|
40
|
-
I18n.reload!
|
41
|
-
end
|
42
|
-
|
43
|
-
# This sets up our log level to be whatever VAGRANT_LOG is.
|
44
|
-
def self.setup_logging
|
45
|
-
require "log4r"
|
46
|
-
|
47
|
-
level = nil
|
48
|
-
begin
|
49
|
-
level = Log4r.const_get(ENV["VAGRANT_LOG"].upcase)
|
50
|
-
rescue NameError
|
51
|
-
# This means that the logging constant wasn't found,
|
52
|
-
# which is fine. We just keep `level` as `nil`. But
|
53
|
-
# we tell the user.
|
54
|
-
level = nil
|
55
|
-
end
|
56
|
-
|
57
|
-
# Some constants, such as "true" resolve to booleans, so the
|
58
|
-
# above error checking doesn't catch it. This will check to make
|
59
|
-
# sure that the log level is an integer, as Log4r requires.
|
60
|
-
level = nil if !level.is_a?(Integer)
|
61
|
-
|
62
|
-
# Set the logging level on all "vagrant" namespaced
|
63
|
-
# logs as long as we have a valid level.
|
64
|
-
if level
|
65
|
-
logger = Log4r::Logger.new("vagrant_parallels")
|
66
|
-
logger.outputters = Log4r::Outputter.stderr
|
67
|
-
logger.level = level
|
68
|
-
logger = nil
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
33
|
guest_capability(:darwin, :mount_parallels_shared_folder) do
|
73
34
|
require_relative "guest_cap/darwin/mount_parallels_shared_folder"
|
74
35
|
GuestDarwinCap::MountParallelsSharedFolder
|
data/lib/vagrant-parallels.rb
CHANGED
@@ -14,5 +14,42 @@ module VagrantPlugins
|
|
14
14
|
def self.source_root
|
15
15
|
@source_root ||= Pathname.new(File.expand_path("../../", __FILE__))
|
16
16
|
end
|
17
|
+
|
18
|
+
# This initializes the internationalization strings.
|
19
|
+
def self.setup_i18n
|
20
|
+
I18n.load_path << File.expand_path("locales/en.yml", Parallels.source_root)
|
21
|
+
I18n.reload!
|
22
|
+
end
|
23
|
+
|
24
|
+
# This sets up our log level to be whatever VAGRANT_LOG is.
|
25
|
+
def self.setup_logging
|
26
|
+
require "log4r"
|
27
|
+
|
28
|
+
level = nil
|
29
|
+
begin
|
30
|
+
level = Log4r.const_get(ENV["VAGRANT_LOG"].upcase)
|
31
|
+
rescue NameError
|
32
|
+
# This means that the logging constant wasn't found,
|
33
|
+
# which is fine. We just keep `level` as `nil`. But
|
34
|
+
# we tell the user.
|
35
|
+
level = nil
|
36
|
+
end
|
37
|
+
|
38
|
+
# Some constants, such as "true" resolve to booleans, so the
|
39
|
+
# above error checking doesn't catch it. This will check to make
|
40
|
+
# sure that the log level is an integer, as Log4r requires.
|
41
|
+
level = nil if !level.is_a?(Integer)
|
42
|
+
|
43
|
+
# Set the logging level on all "vagrant" namespaced
|
44
|
+
# logs as long as we have a valid level.
|
45
|
+
if level
|
46
|
+
logger = Log4r::Logger.new("vagrant_parallels")
|
47
|
+
logger.outputters = Log4r::Outputter.stderr
|
48
|
+
logger.level = level
|
49
|
+
logger = nil
|
50
|
+
end
|
51
|
+
end
|
52
|
+
Parallels.setup_logging
|
53
|
+
Parallels.setup_i18n
|
17
54
|
end
|
18
55
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-parallels
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-12-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -98,6 +98,7 @@ executables: []
|
|
98
98
|
extensions: []
|
99
99
|
extra_rdoc_files: []
|
100
100
|
files:
|
101
|
+
- debug.log
|
101
102
|
- Gemfile
|
102
103
|
- lib/vagrant-parallels/action/boot.rb
|
103
104
|
- lib/vagrant-parallels/action/check_accessible.rb
|
@@ -151,6 +152,7 @@ files:
|
|
151
152
|
- vagrant-parallels.gemspec
|
152
153
|
- .gitignore
|
153
154
|
- .ruby-gemset
|
155
|
+
- .travis.yml
|
154
156
|
homepage: http://github.com/yshahin/vagrant-parallels
|
155
157
|
licenses:
|
156
158
|
- MIT
|
@@ -166,7 +168,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
166
168
|
version: '0'
|
167
169
|
segments:
|
168
170
|
- 0
|
169
|
-
hash:
|
171
|
+
hash: -608531981673184362
|
170
172
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
171
173
|
none: false
|
172
174
|
requirements:
|