vagrant-parallels 1.3.10 → 1.3.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/lib/vagrant-parallels/driver/base.rb +23 -2
  3. data/lib/vagrant-parallels/driver/meta.rb +4 -11
  4. data/lib/vagrant-parallels/driver/pd_8.rb +8 -8
  5. data/lib/vagrant-parallels/version.rb +1 -1
  6. data/test/unit/support/shared/parallels_context.rb +5 -0
  7. data/website/docs/build/404.html +134 -0
  8. data/website/docs/build/docs/boxes/base.html +207 -0
  9. data/website/docs/build/docs/boxes/index.html +161 -0
  10. data/website/docs/build/docs/boxes/packer.html +181 -0
  11. data/website/docs/build/docs/boxes/veewee.html +225 -0
  12. data/website/docs/build/docs/configuration.html +231 -0
  13. data/website/docs/build/docs/contacts.html +134 -0
  14. data/website/docs/build/docs/getting-started.html +164 -0
  15. data/website/docs/build/docs/index.html +157 -0
  16. data/website/docs/build/docs/installation/index.html +152 -0
  17. data/website/docs/build/docs/installation/uninstallation.html +141 -0
  18. data/website/docs/build/docs/installation/updating.html +139 -0
  19. data/website/docs/build/docs/networking/forwarded_ports.html +196 -0
  20. data/website/docs/build/docs/networking/index.html +155 -0
  21. data/website/docs/build/docs/networking/private_network.html +177 -0
  22. data/website/docs/build/docs/networking/public_network.html +173 -0
  23. data/website/docs/build/docs/share.html +151 -0
  24. data/website/docs/build/docs/usage.html +146 -0
  25. data/website/docs/build/images/current_pointer-539d41b3.png +0 -0
  26. data/website/docs/build/images/footer_pd_logo-6ec6c3c6.png +0 -0
  27. data/website/docs/build/images/footer_vagrant_logo-8c7e7b39.png +0 -0
  28. data/website/docs/build/images/logo_docs-7e96bb5e.png +0 -0
  29. data/website/docs/build/images/logo_docs_small-c0512386.png +0 -0
  30. data/website/docs/build/images/nav_divider-0c73f644.png +0 -0
  31. data/website/docs/build/images/open_close-8d5572c4.png +0 -0
  32. data/website/docs/build/index.html +157 -0
  33. data/website/docs/build/javascripts/backstretch-f9c163c1.js +4 -0
  34. data/website/docs/build/javascripts/bootstrap.min-98cc7a22.js +7 -0
  35. data/website/docs/build/javascripts/fittext-b487af57.js +10 -0
  36. data/website/docs/build/javascripts/grid-overlay-19e89cad.js +19 -0
  37. data/website/docs/build/javascripts/jquery-15b079d7.js +3 -0
  38. data/website/docs/build/javascripts/less-1.3.0.min-0bbbfaf9.js +3 -0
  39. data/website/docs/build/javascripts/modernizr-d56a170f.js +8 -0
  40. data/website/docs/build/javascripts/vagrant-parallels-966ff22c.js +1 -0
  41. data/website/docs/build/stylesheets/bootstrap-8082a218.css +9 -0
  42. data/website/docs/build/stylesheets/vagrant-parallels-a389b6ea.css +1 -0
  43. metadata +38 -2
@@ -0,0 +1,139 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+
6
+ <title> Updating Vagrant - Vagrant Parallels Provider Documentation</title>
7
+
8
+ <!-- meta -->
9
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
10
+
11
+ <!-- lib styles -->
12
+ <link href="../../stylesheets/bootstrap-8082a218.css" media="screen" rel="stylesheet" type="text/css" />
13
+ <link href="../../stylesheets/vagrant-parallels-a389b6ea.css" media="screen" rel="stylesheet" type="text/css" />
14
+
15
+ <!-- lib js -->
16
+ <script src="../../javascripts/jquery-15b079d7.js" type="text/javascript"></script>
17
+ <script src="../../javascripts/modernizr-d56a170f.js" type="text/javascript"></script>
18
+ <script src="../../javascripts/bootstrap.min-98cc7a22.js" type="text/javascript"></script>
19
+ <script src="../../javascripts/backstretch-f9c163c1.js" type="text/javascript"></script>
20
+ <script src="../../javascripts/vagrant-parallels-966ff22c.js" type="text/javascript"></script>
21
+
22
+ <!-- fonts -->
23
+ <link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
24
+
25
+ </head>
26
+ <body>
27
+ <!-- wrap everything -->
28
+ <div class="wrapper">
29
+
30
+ <!-- nav -->
31
+
32
+ <nav class="docs">
33
+ <div class="container">
34
+ <!-- vagrant logo -->
35
+ <a class="vagrant-docs-logo" href="../">Vagrant Parallels Documentation</a>
36
+ <!-- nav -->
37
+ <ul class="pull-right">
38
+ <li><a href="https://docs.vagrantup.com">Vagrant Docs</a></li>
39
+ <li><a href="https://github.com/Parallels/vagrant-parallels">Github</a></li>
40
+ </ul>
41
+ </div> <!-- container -->
42
+ </nav>
43
+
44
+ <div class="page docs docs-home">
45
+ <div class="container">
46
+ <div class="sidebar span4">
47
+ <!-- get the sidebar nav -->
48
+ <!-- side nav docs -->
49
+ <aside class="sidebar-nav">
50
+
51
+ <div class="toggle hidden-desktop">
52
+ <div class="open-close open"></div>
53
+ <a href="#">Contents</a>
54
+ </div>
55
+
56
+ <ul class="unstyled">
57
+ <li><a href="../">Overview</a></li>
58
+
59
+ <li><a href="./">Installation</a></li>
60
+
61
+ <ul class="sub unstyled">
62
+ <li class="current"><a href="updating.html">Updating</a></li>
63
+ <li><a href="uninstallation.html">Uninstallation</a></li>
64
+ </ul>
65
+
66
+
67
+ <li><a href="../usage.html">Usage</a></li>
68
+
69
+ <li><a href="../getting-started.html">Getting Started</a></li>
70
+
71
+ <li><a href="../share.html">Vagrant Share</a></li>
72
+
73
+ <li><a href="../boxes/">Boxes</a></li>
74
+
75
+
76
+ <li><a href="../configuration.html">Configuration</a></li>
77
+
78
+ <li><a href="../networking/">Networking</a></li>
79
+
80
+
81
+ <li><a href="../contacts.html">Contacts</a></li>
82
+
83
+ </ul>
84
+ </aside> <!-- /.sidebar -->
85
+ </div> <!-- /.sidebar -->
86
+
87
+ <div class="page-contents span9">
88
+ <div class="page-background"></div>
89
+
90
+ <!-- start page content -->
91
+ <div class="row">
92
+ <div class="span8 offset1">
93
+ <h1>Updating Provider</h1>
94
+
95
+ <p>If you already have the <code>vagrant-parallels</code> plugin installed, use this command
96
+ to update it to the latest version:</p>
97
+
98
+ <pre><code>$ vagrant plugin update vagrant-parallels
99
+ </code></pre>
100
+
101
+ </div> <!-- /.span8 -->
102
+ </div> <!-- /.row -->
103
+ </div> <!-- /.page-contents -->
104
+ </div> <!-- /.container -->
105
+ </div> <!-- /.page -->
106
+
107
+ <!-- footer -->
108
+ <footer>
109
+ <div class="container">
110
+ <div class="row">
111
+ <ul class="unstyled logos">
112
+ <a href="http://www.vagrantup.com/downloads.html">
113
+ <li class="vagrant-logo-monochrome">
114
+ <p>Vagrant</p>
115
+ </li>
116
+ </a>
117
+ <a href="http://www.parallels.com/downloads/desktop/">
118
+ <li class="pd-logo-monochrome">
119
+ <p>Parallels Desktop</p>
120
+ </li>
121
+ </a>
122
+ </ul> <!-- /span -->
123
+
124
+ </div> <!-- /row -->
125
+
126
+ <div class="row">
127
+ <h6 class="legal">
128
+ &copy; 2015 Parallels IP Holdings GmbH.
129
+ </h6>
130
+ </div> <!-- row -->
131
+ </div> <!-- container -->
132
+ </footer>
133
+
134
+ <!-- close .wrapper -->
135
+ </div>
136
+
137
+ <!-- load scripts -->
138
+ </body>
139
+ </html>
@@ -0,0 +1,196 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+
6
+ <title> Forwarded Ports - Networking - Vagrant Parallels Provider Documentation</title>
7
+
8
+ <!-- meta -->
9
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
10
+
11
+ <!-- lib styles -->
12
+ <link href="../../stylesheets/bootstrap-8082a218.css" media="screen" rel="stylesheet" type="text/css" />
13
+ <link href="../../stylesheets/vagrant-parallels-a389b6ea.css" media="screen" rel="stylesheet" type="text/css" />
14
+
15
+ <!-- lib js -->
16
+ <script src="../../javascripts/jquery-15b079d7.js" type="text/javascript"></script>
17
+ <script src="../../javascripts/modernizr-d56a170f.js" type="text/javascript"></script>
18
+ <script src="../../javascripts/bootstrap.min-98cc7a22.js" type="text/javascript"></script>
19
+ <script src="../../javascripts/backstretch-f9c163c1.js" type="text/javascript"></script>
20
+ <script src="../../javascripts/vagrant-parallels-966ff22c.js" type="text/javascript"></script>
21
+
22
+ <!-- fonts -->
23
+ <link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
24
+
25
+ </head>
26
+ <body>
27
+ <!-- wrap everything -->
28
+ <div class="wrapper">
29
+
30
+ <!-- nav -->
31
+
32
+ <nav class="docs">
33
+ <div class="container">
34
+ <!-- vagrant logo -->
35
+ <a class="vagrant-docs-logo" href="../">Vagrant Parallels Documentation</a>
36
+ <!-- nav -->
37
+ <ul class="pull-right">
38
+ <li><a href="https://docs.vagrantup.com">Vagrant Docs</a></li>
39
+ <li><a href="https://github.com/Parallels/vagrant-parallels">Github</a></li>
40
+ </ul>
41
+ </div> <!-- container -->
42
+ </nav>
43
+
44
+ <div class="page docs docs-home">
45
+ <div class="container">
46
+ <div class="sidebar span4">
47
+ <!-- get the sidebar nav -->
48
+ <!-- side nav docs -->
49
+ <aside class="sidebar-nav">
50
+
51
+ <div class="toggle hidden-desktop">
52
+ <div class="open-close open"></div>
53
+ <a href="#">Contents</a>
54
+ </div>
55
+
56
+ <ul class="unstyled">
57
+ <li><a href="../">Overview</a></li>
58
+
59
+ <li><a href="../installation/">Installation</a></li>
60
+
61
+
62
+ <li><a href="../usage.html">Usage</a></li>
63
+
64
+ <li><a href="../getting-started.html">Getting Started</a></li>
65
+
66
+ <li><a href="../share.html">Vagrant Share</a></li>
67
+
68
+ <li><a href="../boxes/">Boxes</a></li>
69
+
70
+
71
+ <li><a href="../configuration.html">Configuration</a></li>
72
+
73
+ <li><a href="./">Networking</a></li>
74
+
75
+ <ul class="sub unstyled">
76
+ <li><a href="private_network.html">Private Network</a></li>
77
+ <li><a href="public_network.html">Public Network</a></li>
78
+ <li class="current"><a href="forwarded_ports.html">Forwarded Ports</a></li>
79
+ </ul>
80
+
81
+
82
+ <li><a href="../contacts.html">Contacts</a></li>
83
+
84
+ </ul>
85
+ </aside> <!-- /.sidebar -->
86
+ </div> <!-- /.sidebar -->
87
+
88
+ <div class="page-contents span9">
89
+ <div class="page-background"></div>
90
+
91
+ <!-- start page content -->
92
+ <div class="row">
93
+ <div class="span8 offset1">
94
+ <h1>Forwarded Ports</h1>
95
+
96
+ <p><strong>General Vagrant doc page</strong>: <a href="http://docs.vagrantup.com/v2/networking/forwarded_ports.html">Forwarded Ports</a>.</p>
97
+
98
+ <div class="alert alert-info">
99
+ <p>
100
+ "Forwarded ports" feature is available only with Parallels Desktop 10 for Mac.
101
+ </p>
102
+ </div>
103
+
104
+ <h2>Defining a Forwarded Port</h2>
105
+
106
+ <p>The forwarded port configuration expects two parameters, the port on the
107
+ guest and the port on the host. Example:</p>
108
+
109
+ <pre><code class="ruby">Vagrant.configure(&quot;2&quot;) do |config|
110
+ config.vm.network &quot;forwarded_port&quot;, guest: 80, host: 8080
111
+ end
112
+ </code></pre>
113
+
114
+ <p>This will allow accessing port 80 on the guest via port 8080 on the host.</p>
115
+
116
+ <h2>Options Reference</h2>
117
+
118
+ <p>This is a complete list of the options that are available for forwarded
119
+ ports. Only the <code>guest</code> and <code>host</code> options are required. Below this section,
120
+ there are more detailed examples of using these options.</p>
121
+
122
+ <ul>
123
+ <li><p><code>guest</code> (int) - The port on the guest that you want to be exposed on
124
+ the host. This can be any port.</p></li>
125
+ <li><p><code>host</code> (int) - The port on the host that you want to use to access the
126
+ port on the guest. It is recommended to use port greater than 1024.</p></li>
127
+ <li><p><code>protocol</code> (string) - Either &quot;udp&quot; or &quot;tcp&quot;. This specifies the protocol
128
+ that will be allowed through the forwarded port. By default this is &quot;tcp&quot;.</p></li>
129
+ </ul>
130
+
131
+ <h2>Port Collisions and Correction</h2>
132
+
133
+ <p>It is common when running multiple Vagrant machines to unknowingly create
134
+ forwarded port definitions that collide with each other (two separate
135
+ Vagrant projects forwarded to port 8080, for example). Vagrant includes
136
+ built-in mechanism to detect this and correct it, automatically.</p>
137
+
138
+ <p>Port collision detection is always done. Vagrant will not allow you to
139
+ define a forwarded port where the port on the host appears to be accepting
140
+ traffic or connections.</p>
141
+
142
+ <p>Port collision auto-correction must be manually enabled for each forwarded
143
+ port, since it is often surprising when it occurs and can lead the Vagrant
144
+ user to think that the port wasn&#39;t properly forwarded. Enabling auto correct
145
+ is easy:</p>
146
+
147
+ <pre><code>Vagrant.configure(&quot;2&quot;) do |config|
148
+ config.vm.network &quot;forwarded_port&quot;, guest: 80, host: 8080,
149
+ auto_correct: true
150
+ end
151
+ </code></pre>
152
+
153
+ <p>The final <code>:auto_correct</code> parameter set to true tells Vagrant to auto
154
+ correct any collisions. During a <code>vagrant up</code> or <code>vagrant reload</code>, Vagrant
155
+ will output information about any collisions detections and auto corrections
156
+ made, so you can take notice and act accordingly.</p>
157
+
158
+ </div> <!-- /.span8 -->
159
+ </div> <!-- /.row -->
160
+ </div> <!-- /.page-contents -->
161
+ </div> <!-- /.container -->
162
+ </div> <!-- /.page -->
163
+
164
+ <!-- footer -->
165
+ <footer>
166
+ <div class="container">
167
+ <div class="row">
168
+ <ul class="unstyled logos">
169
+ <a href="http://www.vagrantup.com/downloads.html">
170
+ <li class="vagrant-logo-monochrome">
171
+ <p>Vagrant</p>
172
+ </li>
173
+ </a>
174
+ <a href="http://www.parallels.com/downloads/desktop/">
175
+ <li class="pd-logo-monochrome">
176
+ <p>Parallels Desktop</p>
177
+ </li>
178
+ </a>
179
+ </ul> <!-- /span -->
180
+
181
+ </div> <!-- /row -->
182
+
183
+ <div class="row">
184
+ <h6 class="legal">
185
+ &copy; 2015 Parallels IP Holdings GmbH.
186
+ </h6>
187
+ </div> <!-- row -->
188
+ </div> <!-- container -->
189
+ </footer>
190
+
191
+ <!-- close .wrapper -->
192
+ </div>
193
+
194
+ <!-- load scripts -->
195
+ </body>
196
+ </html>
@@ -0,0 +1,155 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+
6
+ <title> Networking - Vagrant Parallels Provider Documentation</title>
7
+
8
+ <!-- meta -->
9
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
10
+
11
+ <!-- lib styles -->
12
+ <link href="../../stylesheets/bootstrap-8082a218.css" media="screen" rel="stylesheet" type="text/css" />
13
+ <link href="../../stylesheets/vagrant-parallels-a389b6ea.css" media="screen" rel="stylesheet" type="text/css" />
14
+
15
+ <!-- lib js -->
16
+ <script src="../../javascripts/jquery-15b079d7.js" type="text/javascript"></script>
17
+ <script src="../../javascripts/modernizr-d56a170f.js" type="text/javascript"></script>
18
+ <script src="../../javascripts/bootstrap.min-98cc7a22.js" type="text/javascript"></script>
19
+ <script src="../../javascripts/backstretch-f9c163c1.js" type="text/javascript"></script>
20
+ <script src="../../javascripts/vagrant-parallels-966ff22c.js" type="text/javascript"></script>
21
+
22
+ <!-- fonts -->
23
+ <link href='http://fonts.googleapis.com/css?family=Inconsolata' rel='stylesheet' type='text/css'>
24
+
25
+ </head>
26
+ <body>
27
+ <!-- wrap everything -->
28
+ <div class="wrapper">
29
+
30
+ <!-- nav -->
31
+
32
+ <nav class="docs">
33
+ <div class="container">
34
+ <!-- vagrant logo -->
35
+ <a class="vagrant-docs-logo" href="../">Vagrant Parallels Documentation</a>
36
+ <!-- nav -->
37
+ <ul class="pull-right">
38
+ <li><a href="https://docs.vagrantup.com">Vagrant Docs</a></li>
39
+ <li><a href="https://github.com/Parallels/vagrant-parallels">Github</a></li>
40
+ </ul>
41
+ </div> <!-- container -->
42
+ </nav>
43
+
44
+ <div class="page docs docs-home">
45
+ <div class="container">
46
+ <div class="sidebar span4">
47
+ <!-- get the sidebar nav -->
48
+ <!-- side nav docs -->
49
+ <aside class="sidebar-nav">
50
+
51
+ <div class="toggle hidden-desktop">
52
+ <div class="open-close open"></div>
53
+ <a href="#">Contents</a>
54
+ </div>
55
+
56
+ <ul class="unstyled">
57
+ <li><a href="../">Overview</a></li>
58
+
59
+ <li><a href="../installation/">Installation</a></li>
60
+
61
+
62
+ <li><a href="../usage.html">Usage</a></li>
63
+
64
+ <li><a href="../getting-started.html">Getting Started</a></li>
65
+
66
+ <li><a href="../share.html">Vagrant Share</a></li>
67
+
68
+ <li><a href="../boxes/">Boxes</a></li>
69
+
70
+
71
+ <li><a href="../configuration.html">Configuration</a></li>
72
+
73
+ <li class="current"><a href="./">Networking</a></li>
74
+
75
+ <ul class="sub unstyled">
76
+ <li><a href="private_network.html">Private Network</a></li>
77
+ <li><a href="public_network.html">Public Network</a></li>
78
+ <li><a href="forwarded_ports.html">Forwarded Ports</a></li>
79
+ </ul>
80
+
81
+
82
+ <li><a href="../contacts.html">Contacts</a></li>
83
+
84
+ </ul>
85
+ </aside> <!-- /.sidebar -->
86
+ </div> <!-- /.sidebar -->
87
+
88
+ <div class="page-contents span9">
89
+ <div class="page-background"></div>
90
+
91
+ <!-- start page content -->
92
+ <div class="row">
93
+ <div class="span8 offset1">
94
+ <h1>Networking</h1>
95
+
96
+ <p>The Parallels provider supports all networking features described in the Vagrant
97
+ <a href="http://docs.vagrantup.com/v2/networking/basic_usage.html">Networking</a> documentation.</p>
98
+
99
+ <h2>Basic Usage</h2>
100
+
101
+ <p>By default, the Parallels provider automatically configures your virtual machine
102
+ network adapter to the <em>Shared</em> networking type. In order to access the Vagrant
103
+ environment created, the Parallels provider uses an IP address, which the
104
+ virtual machine leased from the internal DHCP-server.</p>
105
+
106
+ <p>You don&#39;t need to add any heuristic configuration in the Vagrantfile to use
107
+ basic communications with your virtual environment.</p>
108
+
109
+ <p>If desired, the Parallels provider allows to add some other high-level
110
+ networking options, such as connecting to a <a href="public_network.html">public network</a>,
111
+ or creating a <a href="private_network.html">private network</a>.</p>
112
+
113
+ <p>Starting with Parallels Desktop 10 for Mac it is also possible to configure
114
+ <a href="forwarded_ports.html">port forwarding</a> between the guest
115
+ virtual machine and your Mac host.</p>
116
+
117
+ </div> <!-- /.span8 -->
118
+ </div> <!-- /.row -->
119
+ </div> <!-- /.page-contents -->
120
+ </div> <!-- /.container -->
121
+ </div> <!-- /.page -->
122
+
123
+ <!-- footer -->
124
+ <footer>
125
+ <div class="container">
126
+ <div class="row">
127
+ <ul class="unstyled logos">
128
+ <a href="http://www.vagrantup.com/downloads.html">
129
+ <li class="vagrant-logo-monochrome">
130
+ <p>Vagrant</p>
131
+ </li>
132
+ </a>
133
+ <a href="http://www.parallels.com/downloads/desktop/">
134
+ <li class="pd-logo-monochrome">
135
+ <p>Parallels Desktop</p>
136
+ </li>
137
+ </a>
138
+ </ul> <!-- /span -->
139
+
140
+ </div> <!-- /row -->
141
+
142
+ <div class="row">
143
+ <h6 class="legal">
144
+ &copy; 2015 Parallels IP Holdings GmbH.
145
+ </h6>
146
+ </div> <!-- row -->
147
+ </div> <!-- container -->
148
+ </footer>
149
+
150
+ <!-- close .wrapper -->
151
+ </div>
152
+
153
+ <!-- load scripts -->
154
+ </body>
155
+ </html>