Merge pull request #9000 from bbrala/bug-hyperv-auto-stop-action
Auto stop action is configured wrongly
This commit is contained in:
commit
9d360d2b21
|
@ -115,7 +115,7 @@ if ($auto_start_action) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($auto_stop_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
|
# Only set EFI secure boot for Gen 2 machines, not gen 1
|
||||||
|
|
Loading…
Reference in New Issue