kitchen-hyperv 0.1.0 → 0.1.1

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7588944a18673c39d89916777a86bfd20fefada1
4
- data.tar.gz: f11736929cca5a1c06ce00e8b27e9f8821991992
3
+ metadata.gz: 2959cfdd2639fe688ce84341bde09a57dcfdd522
4
+ data.tar.gz: 957fad4582295fb2ce48f36820313d3823d455d8
5
5
  SHA512:
6
- metadata.gz: 51c6e027033709b450e949468550bf3bad75a2ab43e6c32a972d21d40f9cd75329e0624b62b6bdd9137fa6827e4b0838c5df1fcc9762b6e00cf0dc9eb9800ab3
7
- data.tar.gz: 113b8020c4d1f4e25941d7699cb494851f45eac56e09aa38ac0179a419d85f7f9569865ab3648aabbcafca62aa8ac22d2bb43e247f1cfcaf1a847dede9e9d70d
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
- And then execute:
14
-
15
- $ bundle
16
-
17
- Or install it yourself as:
14
+ ## Usage
18
15
 
19
- $ gem install kitchen-hyperv
16
+ In the .kitchen.yml
20
17
 
21
- ## Usage
18
+ ```yaml
19
+ driver:
20
+ name: 'hyperv'
21
+ ```
22
22
 
23
- TODO: Write usage instructions here
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
 
@@ -17,6 +17,6 @@
17
17
 
18
18
  module Kitchen
19
19
  module Driver
20
- HYPERV_VERSION = '0.1.0'
20
+ HYPERV_VERSION = '0.1.1'
21
21
  end
22
22
  end
data/support/hyperv.ps1 CHANGED
@@ -1,11 +1,8 @@
1
1
 
2
2
  $ProgressPreference = "SilentlyContinue"
3
3
 
4
- <<<<<<< HEAD:lib/kitchen/support/hyperv.ps1
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
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-hyperv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Murawski