Merge pull request #9000 from bbrala/bug-hyperv-auto-stop-action

Auto stop action is configured wrongly
This commit is contained in:
Brian Cain 2017-10-04 09:12:09 -07:00 committed by GitHub
commit 9d360d2b21
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ if ($auto_start_action) {
}
if ($auto_stop_action) {
Set-VM -VM $vmConfig.VM -AutomaticStartAction $auto_stop_action
Set-VM -VM $vmConfig.VM -AutomaticStopAction $auto_stop_action
}
# Only set EFI secure boot for Gen 2 machines, not gen 1