fix: PXE boot debugging — bisect root cause, syslog logging, serial console #3

Merged
michal merged 31 commits from wip/ks-debugging into main 2026-03-29 00:50:05 +00:00
Showing only changes of commit 9803817004 - Show all commits

View File

@@ -86,12 +86,11 @@ export function registerReprovisionCommand(parent: Command): void {
try { try {
execFileSync("ssh", sshArgs, { stdio: "inherit" }); execFileSync("ssh", sshArgs, { stdio: "inherit" });
} catch {
// SSH connection closing during reboot is expected
}
console.log(""); console.log("");
console.log("Machine is rebooting into PXE. Install will start automatically."); 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 { } 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.");