lib/kitchen/driver/powershell.rb in kitchen-hyperv-0.1.3 vs lib/kitchen/driver/powershell.rb in kitchen-hyperv-0.1.4
- old
+ new
@@ -124,8 +124,14 @@
def vm_default_switch_ps
<<-VMSWITCH
Get-DefaultVMSwitch | ConvertTo-Json
VMSWITCH
end
+
+ def mount_vm_iso
+ <<-MOUNTISO
+ mount-vmiso -id "#{@state[:id]}" -Path #{config[:iso_path]}
+ MOUNTISO
+ end
end
end
end