vagrant-parallels 1.4.0.rc1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/lib/vagrant-parallels/driver/base.rb +7 -3
  3. data/lib/vagrant-parallels/version.rb +1 -1
  4. data/test/unit/driver/pd_8_test.rb +0 -20
  5. data/test/unit/driver/pd_9_test.rb +0 -21
  6. data/test/unit/support/shared/pd_driver_examples.rb +21 -0
  7. data/vagrant-parallels.gemspec +1 -0
  8. metadata +2 -38
  9. data/website/docs/build/404.html +0 -134
  10. data/website/docs/build/docs/boxes/base.html +0 -207
  11. data/website/docs/build/docs/boxes/index.html +0 -161
  12. data/website/docs/build/docs/boxes/packer.html +0 -181
  13. data/website/docs/build/docs/boxes/veewee.html +0 -225
  14. data/website/docs/build/docs/configuration.html +0 -231
  15. data/website/docs/build/docs/contacts.html +0 -134
  16. data/website/docs/build/docs/getting-started.html +0 -164
  17. data/website/docs/build/docs/index.html +0 -157
  18. data/website/docs/build/docs/installation/index.html +0 -152
  19. data/website/docs/build/docs/installation/uninstallation.html +0 -141
  20. data/website/docs/build/docs/installation/updating.html +0 -139
  21. data/website/docs/build/docs/networking/forwarded_ports.html +0 -196
  22. data/website/docs/build/docs/networking/index.html +0 -155
  23. data/website/docs/build/docs/networking/private_network.html +0 -177
  24. data/website/docs/build/docs/networking/public_network.html +0 -173
  25. data/website/docs/build/docs/share.html +0 -151
  26. data/website/docs/build/docs/usage.html +0 -146
  27. data/website/docs/build/images/current_pointer-539d41b3.png +0 -0
  28. data/website/docs/build/images/footer_pd_logo-6ec6c3c6.png +0 -0
  29. data/website/docs/build/images/footer_vagrant_logo-8c7e7b39.png +0 -0
  30. data/website/docs/build/images/logo_docs-7e96bb5e.png +0 -0
  31. data/website/docs/build/images/logo_docs_small-c0512386.png +0 -0
  32. data/website/docs/build/images/nav_divider-0c73f644.png +0 -0
  33. data/website/docs/build/images/open_close-8d5572c4.png +0 -0
  34. data/website/docs/build/index.html +0 -157
  35. data/website/docs/build/javascripts/backstretch-f9c163c1.js +0 -4
  36. data/website/docs/build/javascripts/bootstrap.min-98cc7a22.js +0 -7
  37. data/website/docs/build/javascripts/fittext-b487af57.js +0 -10
  38. data/website/docs/build/javascripts/grid-overlay-19e89cad.js +0 -19
  39. data/website/docs/build/javascripts/jquery-15b079d7.js +0 -3
  40. data/website/docs/build/javascripts/less-1.3.0.min-0bbbfaf9.js +0 -3
  41. data/website/docs/build/javascripts/modernizr-d56a170f.js +0 -8
  42. data/website/docs/build/javascripts/vagrant-parallels-966ff22c.js +0 -1
  43. data/website/docs/build/stylesheets/bootstrap-8082a218.css +0 -9
  44. data/website/docs/build/stylesheets/vagrant-parallels-a389b6ea.css +0 -1
@@ -1,231 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
-
6
- <title> Configuration - 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 class="current"><a href="configuration.html">Configuration</a></li>
72
-
73
- <li><a href="networking/">Networking</a></li>
74
-
75
-
76
- <li><a href="contacts.html">Contacts</a></li>
77
-
78
- </ul>
79
- </aside> <!-- /.sidebar -->
80
- </div> <!-- /.sidebar -->
81
-
82
- <div class="page-contents span9">
83
- <div class="page-background"></div>
84
-
85
- <!-- start page content -->
86
- <div class="row">
87
- <div class="span8 offset1">
88
- <h1>Configuration</h1>
89
-
90
- <p>While the Parallels provider is a drop-in replacement for VirtualBox, there are
91
- additional features that allow you to more finely configure Parallels-specific
92
- aspects of your machines.</p>
93
-
94
- <h2>Virtual Machine Name</h2>
95
-
96
- <p>You can customize the virtual machine name that appears in the Parallels Desktop
97
- GUI. By default, Vagrant sets it to the name of the folder containing the
98
- Vagrantfile plus a timestamp of when the machine was created.</p>
99
-
100
- <p>To change the name, set the <code>name</code> property to the desired value:</p>
101
-
102
- <pre><code class="ruby">config.vm.provider &quot;parallels&quot; do |v|
103
- v.name = &quot;my_vm&quot;
104
- end
105
- </code></pre>
106
-
107
- <h2>Parallels Tools Auto-Update</h2>
108
-
109
- <p>Parallels Tools is a set of Parallels utilities that ensures a high level of
110
- integration between the host and the guest operating systems (read more:
111
- <a href="http://download.parallels.com/desktop/v9/ga/docs/en_US/Parallels%20Desktop%20User&amp;#x27;s%20Guide/32789.htm">Parallels Tools Overview</a>).</p>
112
-
113
- <p>By default, the Parallels provider checks the status of Parallels Tools after
114
- booting the machine. If they are outdated or newer, a warning message will be
115
- displayed.</p>
116
-
117
- <p>You can configure the Parallels provider to update Parallels Tools
118
- automatically:</p>
119
-
120
- <pre><code class="ruby">config.vm.provider &quot;parallels&quot; do |v|
121
- v.update_guest_tools = true
122
- end
123
- </code></pre>
124
-
125
- <p>This option is disabled by default because of Parallels Tools installation
126
- takes a significant time (2-6 minutes). Anyway, it runs only when there is a
127
- version mismatch.</p>
128
-
129
- <p>Also, you can completely disable the Parallels Tools version check, if you want:</p>
130
-
131
- <pre><code class="ruby">config.vm.provider &quot;parallels&quot; do |v|
132
- v.check_guest_tools = false
133
- end
134
- </code></pre>
135
-
136
- <p>In this case the both of Parallels Tools status check and an automatic update
137
- procedure will be skipped as well.</p>
138
-
139
- <div class="alert alert-info">
140
- <p>
141
- <strong>Note:</strong> The feature of Parallels Tools Auto-Update is
142
- related to Linux guest OS only.
143
- In Windows and Mac OS guests Parallels Tools will be always updated
144
- automatically by the special installation agent running in GUI mode.
145
- </p>
146
- </div>
147
-
148
- <h2>Power Consumption Mode</h2>
149
-
150
- <p>The Parallels provider sets power consumption method as &quot;Longer Battery
151
- Life&quot; by default. You can override it to &quot;Better Performance&quot; using this
152
- customisation parameter:</p>
153
-
154
- <pre><code class="ruby">config.vm.provider &quot;parallels&quot; do |v|
155
- v.optimize_power_consumption = false
156
- end
157
- </code></pre>
158
-
159
- <p>P.s. Read more about power consumption modes in Parallels Desktop: <a href="http://kb.parallels.com/en/9607">KB #9607</a></p>
160
-
161
- <h2>prlctl Customization</h2>
162
-
163
- <p>Parallels Desktop includes the <code>prlctl</code> command-line utility that can be used to
164
- modify the virtual machines settings.</p>
165
-
166
- <p>The Parallels provider allows to execute the prlctl command with any of the
167
- available options just prior to booting the virtual machine:</p>
168
-
169
- <pre><code class="ruby">config.vm.provider &quot;parallels&quot; do |v|
170
- v.customize [&quot;set&quot;, :id, &quot;--device-set&quot;, &quot;cdrom0&quot;, &quot;--image&quot;,
171
- &quot;/path/to/disk.iso&quot;, &quot;--connect&quot;]
172
- end
173
- </code></pre>
174
-
175
- <p>In the example above, the virtual machine is modified to have a specified ISO
176
- image mounted on its virtual media device (cdrom). The <code>:id</code> parameter is
177
- replaced with the actual virtual machine ID.</p>
178
-
179
- <p>Multiple <code>customize</code> directives can be used simultaneously. They will be
180
- executed in the given order.</p>
181
-
182
- <p>A simple way is provided to change the memory and CPU settings:</p>
183
-
184
- <pre><code class="ruby">config.vm.provider &quot;parallels&quot; do |v|
185
- v.memory = 1024
186
- v.cpus = 2
187
- end
188
- </code></pre>
189
-
190
- <p>You can read the <a href="http://download.parallels.com/desktop/v9/ga/docs/en_US/Parallels%20Command%20Line%20Reference%20Guide.pdf">Reference Guide</a>
191
- for the complete information about the prlctl command and its options.</p>
192
-
193
- </div> <!-- /.span8 -->
194
- </div> <!-- /.row -->
195
- </div> <!-- /.page-contents -->
196
- </div> <!-- /.container -->
197
- </div> <!-- /.page -->
198
-
199
- <!-- footer -->
200
- <footer>
201
- <div class="container">
202
- <div class="row">
203
- <ul class="unstyled logos">
204
- <a href="http://www.vagrantup.com/downloads.html">
205
- <li class="vagrant-logo-monochrome">
206
- <p>Vagrant</p>
207
- </li>
208
- </a>
209
- <a href="http://www.parallels.com/downloads/desktop/">
210
- <li class="pd-logo-monochrome">
211
- <p>Parallels Desktop</p>
212
- </li>
213
- </a>
214
- </ul> <!-- /span -->
215
-
216
- </div> <!-- /row -->
217
-
218
- <div class="row">
219
- <h6 class="legal">
220
- &copy; 2015 Parallels IP Holdings GmbH.
221
- </h6>
222
- </div> <!-- row -->
223
- </div> <!-- container -->
224
- </footer>
225
-
226
- <!-- close .wrapper -->
227
- </div>
228
-
229
- <!-- load scripts -->
230
- </body>
231
- </html>
@@ -1,134 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
-
6
- <title> Contacts - 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/">Networking</a></li>
74
-
75
-
76
- <li class="current"><a href="contacts.html">Contacts</a></li>
77
-
78
- </ul>
79
- </aside> <!-- /.sidebar -->
80
- </div> <!-- /.sidebar -->
81
-
82
- <div class="page-contents span9">
83
- <div class="page-background"></div>
84
-
85
- <!-- start page content -->
86
- <div class="row">
87
- <div class="span8 offset1">
88
- <h1>Contacts</h1>
89
-
90
- <ul>
91
- <li><p>Official Forum: <a href="http://forum.parallels.com/forumdisplay.php?737">Parallels Forum</a></p></li>
92
- <li><p>Issue Tracker: <a href="https://github.com/Parallels/vagrant-parallels/issues">GitHub Issues</a></p></li>
93
- <li><p>Source code: <a href="https://github.com/Parallels/vagrant-parallels">GitHub Repository</a></p></li>
94
- </ul>
95
-
96
- </div> <!-- /.span8 -->
97
- </div> <!-- /.row -->
98
- </div> <!-- /.page-contents -->
99
- </div> <!-- /.container -->
100
- </div> <!-- /.page -->
101
-
102
- <!-- footer -->
103
- <footer>
104
- <div class="container">
105
- <div class="row">
106
- <ul class="unstyled logos">
107
- <a href="http://www.vagrantup.com/downloads.html">
108
- <li class="vagrant-logo-monochrome">
109
- <p>Vagrant</p>
110
- </li>
111
- </a>
112
- <a href="http://www.parallels.com/downloads/desktop/">
113
- <li class="pd-logo-monochrome">
114
- <p>Parallels Desktop</p>
115
- </li>
116
- </a>
117
- </ul> <!-- /span -->
118
-
119
- </div> <!-- /row -->
120
-
121
- <div class="row">
122
- <h6 class="legal">
123
- &copy; 2015 Parallels IP Holdings GmbH.
124
- </h6>
125
- </div> <!-- row -->
126
- </div> <!-- container -->
127
- </footer>
128
-
129
- <!-- close .wrapper -->
130
- </div>
131
-
132
- <!-- load scripts -->
133
- </body>
134
- </html>
@@ -1,164 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8">
5
-
6
- <title> Getting Started - 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 class="current"><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/">Networking</a></li>
74
-
75
-
76
- <li><a href="contacts.html">Contacts</a></li>
77
-
78
- </ul>
79
- </aside> <!-- /.sidebar -->
80
- </div> <!-- /.sidebar -->
81
-
82
- <div class="page-contents span9">
83
- <div class="page-background"></div>
84
-
85
- <!-- start page content -->
86
- <div class="row">
87
- <div class="span8 offset1">
88
- <h1>Getting Started</h1>
89
-
90
- <p>This page describes steps to get your first Parallels Desktop virtual machine
91
- managed by Vagrant.</p>
92
-
93
- <p>First, download and install <a href="http://www.vagrantup.com/downloads.html">Vagrant for Mac</a>.
94
- Second, install the &#39;vagrant-parallels&#39; plugin:</p>
95
-
96
- <pre><code>$ vagrant plugin install vagrant-parallels
97
- </code></pre>
98
-
99
- <p>Once the installation is complete, you can create a virtual machine and manage
100
- it using Vagrant. The following describes how to create a virtual machine.</p>
101
-
102
- <h2>New project setup</h2>
103
-
104
- <p>Create a new directory and init the new Vagrant project in it:</p>
105
-
106
- <pre><code>$ mkdir new_vagrant_project
107
- $ cd new_vagrant_project
108
- $ vagrant init parallels/centos-6.6
109
- $ vagrant up --provider=parallels
110
- </code></pre>
111
-
112
- <p>Vagrant will automatically download and import the box and create a new virtual
113
- machine form it. The virtual machine will then be configured and started.</p>
114
-
115
- <p>When the virtual machine is up and running, you can log in to it via SSH:</p>
116
-
117
- <pre><code>$ vagrant ssh
118
- </code></pre>
119
-
120
- <p>You can use any of the available <a href="http://docs.vagrantup.com/v2/cli/index.html">vagrant commands</a>
121
- to control your virtual machine.</p>
122
-
123
- <p>For example, you can run <code>vagrant halt</code> to gracefully shut it down, or
124
- <code>vagrant destroy</code> to remove it completely.</p>
125
-
126
- </div> <!-- /.span8 -->
127
- </div> <!-- /.row -->
128
- </div> <!-- /.page-contents -->
129
- </div> <!-- /.container -->
130
- </div> <!-- /.page -->
131
-
132
- <!-- footer -->
133
- <footer>
134
- <div class="container">
135
- <div class="row">
136
- <ul class="unstyled logos">
137
- <a href="http://www.vagrantup.com/downloads.html">
138
- <li class="vagrant-logo-monochrome">
139
- <p>Vagrant</p>
140
- </li>
141
- </a>
142
- <a href="http://www.parallels.com/downloads/desktop/">
143
- <li class="pd-logo-monochrome">
144
- <p>Parallels Desktop</p>
145
- </li>
146
- </a>
147
- </ul> <!-- /span -->
148
-
149
- </div> <!-- /row -->
150
-
151
- <div class="row">
152
- <h6 class="legal">
153
- &copy; 2015 Parallels IP Holdings GmbH.
154
- </h6>
155
- </div> <!-- row -->
156
- </div> <!-- container -->
157
- </footer>
158
-
159
- <!-- close .wrapper -->
160
- </div>
161
-
162
- <!-- load scripts -->
163
- </body>
164
- </html>