Skip to content

Commit

Permalink
Merge pull request #5858 from mnowaksuse/hyperv_fix_Start-VM
Browse files Browse the repository at this point in the history
Hyper-V 2016 actually uses 'the object is in use'
  • Loading branch information
okurz committed Oct 1, 2018
2 parents 75fc753 + a803082 commit 9a27be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/installation/bootloader_hyperv.pm
Expand Up @@ -235,7 +235,7 @@ sub run {
. get_var('HYPERV_SERVER') . ' +auto-reconnect /auto-reconnect-max-retries:10'
. " /cert-ignore /vmconnect:$vmguid /f /log-level:DEBUG 2>&1 > $xfreerdp_log; echo $vmguid > xfreerdp_${name}_stop; done; ";

hyperv_cmd_with_retry("$ps Start-VM $name", {msg => ($winserver eq '2016') ? 'used by another process' : undef});
hyperv_cmd_with_retry("$ps Start-VM $name");

# ...we execute the command right after VMs starts.
send_key 'ret';
Expand Down

0 comments on commit 9a27be9

Please sign in to comment.