lib/kitchen/driver/powershell.rb in kitchen-hyperv-0.7.0 vs lib/kitchen/driver/powershell.rb in kitchen-hyperv-0.7.1
- old
+ new
@@ -117,10 +117,10 @@
$NewVMParams = @{
Generation = #{config[:vm_generation]}
DisableSecureBoot = "#{config[:disable_secureboot]}"
MemoryStartupBytes = #{config[:memory_startup_bytes]}
- StaticMacAddress = "#{config[:static_mac_address].to_s}"
+ StaticMacAddress = "#{config[:static_mac_address]}"
Name = "#{instance.name}"
Path = "#{kitchen_vm_path}"
VHDPath = "#{differencing_disk_path}"
SwitchName = "#{config[:vm_switch]}"
VlanId = #{config[:vm_vlan_id] || "$null"}