kitchen-hyperv 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +28 -8
- data/lib/kitchen/driver/hyperv_version.rb +1 -1
- data/support/hyperv.ps1 +2 -8
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2959cfdd2639fe688ce84341bde09a57dcfdd522
|
4
|
+
data.tar.gz: 957fad4582295fb2ce48f36820313d3823d455d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a17c62e601fa966b9869535857e96ef1548d862ac1379f0ca2dcd395ddef51bf4d5191f567daaaaa40e554211081fe2f550ced443aa3841a4374befeac702704
|
7
|
+
data.tar.gz: 6f8d85094c5d65fbafc9e5bf53e34beb640eb52df8482dc082b5a7d4e126997d515f7c979bb8a4bb2041f408dd27795373872d9c0b9d4313165864fdebc7bb77
|
data/README.md
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/kitchen-hyperv.svg)](http://badge.fury.io/rb/kitchen-hyperv)
|
1
2
|
# Kitchen::Hyperv
|
2
3
|
|
3
4
|
TODO: Write a gem description
|
@@ -10,17 +11,36 @@ Add this line to your application's Gemfile:
|
|
10
11
|
gem 'kitchen-hyperv'
|
11
12
|
```
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
$ bundle
|
16
|
-
|
17
|
-
Or install it yourself as:
|
14
|
+
## Usage
|
18
15
|
|
19
|
-
|
16
|
+
In the .kitchen.yml
|
20
17
|
|
21
|
-
|
18
|
+
```yaml
|
19
|
+
driver:
|
20
|
+
name: 'hyperv'
|
21
|
+
```
|
22
22
|
|
23
|
-
|
23
|
+
### Required parameters:
|
24
|
+
|
25
|
+
* parent_vhd_folder
|
26
|
+
* Location of the base vhd files
|
27
|
+
* parent_vhd_name
|
28
|
+
* Vhd file name for the base vhd file
|
29
|
+
* password
|
30
|
+
* password to use to log into the specified user account. Default user account is Administrator
|
31
|
+
|
32
|
+
### Optional parameters:
|
33
|
+
|
34
|
+
* memory_startup_bytes
|
35
|
+
* amount of RAM to assign to each virtual machine. Defaults to 536,870,912.
|
36
|
+
* processor_count
|
37
|
+
* number of virtual processors to assign to each virtual machine. Defaults to 2.
|
38
|
+
* username
|
39
|
+
* Username to log into the virtual machine. Specify a local account, without a leading '.\'. Defaults to Administrator
|
40
|
+
* ip_address
|
41
|
+
* IP address for the virtual machine. If the VM is not on a network with DHCP, this can be used to assign an IP that can be reached from the host machine.
|
42
|
+
* vm_switch
|
43
|
+
* The virtual switch to attach the guest VMs. Defaults to the first switch returned from Get-VMSwitch.
|
24
44
|
|
25
45
|
## Contributing
|
26
46
|
|
data/support/hyperv.ps1
CHANGED
@@ -1,11 +1,8 @@
|
|
1
1
|
|
2
2
|
$ProgressPreference = "SilentlyContinue"
|
3
3
|
|
4
|
-
|
5
|
-
function new-differencingdisk
|
6
|
-
=======
|
4
|
+
|
7
5
|
function New-DifferencingDisk
|
8
|
-
>>>>>>> rubocop'd and some tests:support/hyperv.ps1
|
9
6
|
{
|
10
7
|
[cmdletbinding()]
|
11
8
|
param ([string[]]$Path, [string]$ParentPath)
|
@@ -138,12 +135,9 @@ function Get-VmDetail
|
|
138
135
|
IpAddress = (Get-VmIP $vm)
|
139
136
|
}
|
140
137
|
}
|
141
|
-
<<<<<<< HEAD:lib/kitchen/support/hyperv.ps1
|
142
|
-
=======
|
143
138
|
}
|
144
139
|
|
145
140
|
function Get-DefaultVMSwitch
|
146
141
|
{
|
147
|
-
Get-VMSwitch | Select -First 1
|
148
|
-
>>>>>>> rubocop'd and some tests:support/hyperv.ps1
|
142
|
+
Get-VMSwitch | Select -First 1
|
149
143
|
}
|