0.5.0: web terminal per VM (ttyd on the serial console, basic auth, auto-stop with the guest)
This commit is contained in:
1 parent
b9ad09e717
commit
b2a12eb72a
5 files changed
+161
-2
No files matched your search
@@ -198,6 +198,10 @@ while ($accept !== [] && !in_array($stateAfter, $accept, true) && time() < $dead
|
||||
}
|
||||
joblog($log, 'state after action: ' . $stateAfter);
|
||||
|
||||
if (in_array($verb, ['stop', 'poweroff', 'destroy'], true)) {
|
||||
vmm_console_stop($name);
|
||||
}
|
||||
|
||||
$job['rc'] = $rc;
|
||||
$job['ended'] = time();
|
||||
$job['state_after'] = $stateAfter;
|
||||
|
||||
Reference in new issue
Block a user