plugins/providers/hyperv/driver.rb in vagrant-unbundled-1.9.1.1 vs plugins/providers/hyperv/driver.rb in vagrant-unbundled-1.9.5.1

- old
+ new

@@ -51,14 +51,22 @@ def delete_vm execute('delete_vm.ps1', { VmId: vm_id }) end + def export(path) + execute('export_vm.ps1', {VmId: vm_id, Path: path}) + end + def read_guest_ip execute('get_network_config.ps1', { VmId: vm_id }) end + def read_mac_address + execute('get_network_mac.ps1', { VmId: vm_id }) + end + def resume execute('resume_vm.ps1', { VmId: vm_id }) end def start @@ -107,9 +115,13 @@ end def delete_snapshot(snapshot_name) execute("delete_snapshot.ps1", {VmID: vm_id, SnapName: snapshot_name}) end + + def set_vm_integration_services(config) + execute("set_vm_integration_services.ps1", config) + end protected def execute_powershell(path, options, &block) lib_path = Pathname.new(File.expand_path("../scripts", __FILE__))