Microsoft Hyper-V

kitchen-hyperv is a Test Kitchen driver for Microsoft Hyper-V.

Example kitchen.yml:

---
driver:
  name: hyperv
  parent_vhd_folder: C:\HyperV\WindowsServer
  parent_vhd_name: Server2016.vhdx
  vm_switch: ExternalSwitch
  memory_startup_bytes: 4GB
​
provisioner:
  name: chef_zero
​
transport:
  password: password123
  elevated: true
  name: winrm
​
verifier:
  name: inspec
​
platforms:
  - name: windows-kitchen
​
suites:
  - name: default
    run_list:
      - recipe[learn_chef_iis::default]
    verifier:
      inspec_tests:
        - test/smoke/default

suites:
  - name: default
    run_list:
      - recipe[my_cookbook::default]
    attributes: