From 84f1a7b13315bace52734be4fd33e38265ac521e Mon Sep 17 00:00:00 2001 From: Michal Date: Sun, 29 Mar 2026 00:46:25 +0000 Subject: [PATCH] feat: serial console on iPXE kernel boot args Add console=ttyS0,115200n8 to both discover and install iPXE kernel lines so Anaconda output is visible on serial during install phase. Co-Authored-By: Claude Opus 4.6 (1M context) --- bastion/src/bastion/src/templates/boot.ipxe.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bastion/src/bastion/src/templates/boot.ipxe.ts b/bastion/src/bastion/src/templates/boot.ipxe.ts index 565b7ea..72f329f 100644 --- a/bastion/src/bastion/src/templates/boot.ipxe.ts +++ b/bastion/src/bastion/src/templates/boot.ipxe.ts @@ -42,7 +42,7 @@ echo Collecting hardware info... echo ============================================= echo -kernel http://${params.serverIp}:${params.httpPort}/vmlinuz inst.ks=http://${params.serverIp}:${params.httpPort}/discover.ks inst.stage2=${params.fedoraMirror} inst.text +kernel http://${params.serverIp}:${params.httpPort}/vmlinuz inst.ks=http://${params.serverIp}:${params.httpPort}/discover.ks inst.stage2=${params.fedoraMirror} inst.text console=ttyS0,115200n8 console=tty0 initrd http://${params.serverIp}:${params.httpPort}/initrd.img boot `; @@ -69,7 +69,7 @@ echo MAC: ${params.mac} echo ============================================= echo -kernel http://${params.serverIp}:${params.httpPort}/vmlinuz inst.ks=http://${params.serverIp}:${params.httpPort}/ks?mac=${params.mac} inst.repo=${params.fedoraMirror} inst.text +kernel http://${params.serverIp}:${params.httpPort}/vmlinuz inst.ks=http://${params.serverIp}:${params.httpPort}/ks?mac=${params.mac} inst.repo=${params.fedoraMirror} inst.text console=ttyS0,115200n8 console=tty0 initrd http://${params.serverIp}:${params.httpPort}/initrd.img boot `; @@ -88,6 +88,6 @@ echo Already installed, booting from local disk echo ============================================= echo sleep 3 -exit +exit 1 `; }