fix: reprovision SSH reboot is expected to close connection
The SSH connection closing during reboot is normal, not an error. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -86,12 +86,11 @@ export function registerReprovisionCommand(parent: Command): void {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
execFileSync("ssh", sshArgs, { stdio: "inherit" });
|
execFileSync("ssh", sshArgs, { stdio: "inherit" });
|
||||||
console.log("");
|
|
||||||
console.log("Machine is rebooting into PXE. Install will start automatically.");
|
|
||||||
} catch {
|
} catch {
|
||||||
console.log("");
|
// SSH connection closing during reboot is expected
|
||||||
console.log("SSH failed. Reboot the machine manually into PXE (e.g. via IPMI/KVM).");
|
|
||||||
}
|
}
|
||||||
|
console.log("");
|
||||||
|
console.log("Machine is rebooting into PXE. Install will start automatically.");
|
||||||
} else {
|
} else {
|
||||||
console.log("");
|
console.log("");
|
||||||
console.log("No IP known for this machine. Reboot it manually into PXE.");
|
console.log("No IP known for this machine. Reboot it manually into PXE.");
|
||||||
|
|||||||
Reference in New Issue
Block a user