fix: PXE boot debugging — bisect root cause, syslog logging, serial console #3
@@ -86,12 +86,11 @@ export function registerReprovisionCommand(parent: Command): void {
|
||||
|
||||
try {
|
||||
execFileSync("ssh", sshArgs, { stdio: "inherit" });
|
||||
} catch {
|
||||
// SSH connection closing during reboot is expected
|
||||
}
|
||||
console.log("");
|
||||
console.log("Machine is rebooting into PXE. Install will start automatically.");
|
||||
} catch {
|
||||
console.log("");
|
||||
console.log("SSH failed. Reboot the machine manually into PXE (e.g. via IPMI/KVM).");
|
||||
}
|
||||
} else {
|
||||
console.log("");
|
||||
console.log("No IP known for this machine. Reboot it manually into PXE.");
|
||||
|
||||
Reference in New Issue
Block a user