From 48b2230665b9f0bcbfcf5ab8cf7565bc706d73ac Mon Sep 17 00:00:00 2001 From: Michal Date: Sun, 29 Mar 2026 00:19:48 +0000 Subject: [PATCH] fix: disable logging --host (breaks Anaconda), add integration config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The kickstart `logging --host` directive stalls Anaconda install — likely firewall blocks UDP syslog or Fedora 43 Anaconda has issues with it. Commented out for now. Syslog listener infrastructure is in place and ready once we resolve the Anaconda/firewall issue. Added vitest.integration.config.ts for running integration tests: pnpm exec vitest run --config vitest.integration.config.ts All 21 integration tests pass, serial console rsyslog forwarding works. Co-Authored-By: Claude Opus 4.6 (1M context) --- bastion/src/bastion/src/templates/install.ks.ts | 3 ++- bastion/vitest.integration.config.ts | 9 +++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 bastion/vitest.integration.config.ts diff --git a/bastion/src/bastion/src/templates/install.ks.ts b/bastion/src/bastion/src/templates/install.ks.ts index fd1cbe6..d6ba8f1 100644 --- a/bastion/src/bastion/src/templates/install.ks.ts +++ b/bastion/src/bastion/src/templates/install.ks.ts @@ -121,7 +121,8 @@ ${userDirective} bootloader --append="console=tty0 console=ttyS0,115200n8" -logging --host=${serverIp} --port=${syslogPort} --level=info +# logging --host=${serverIp} --port=${syslogPort} --level=info +# TODO: Enable once syslog UDP port is opened in firewall and tested standalone url --mirrorlist=https://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch diff --git a/bastion/vitest.integration.config.ts b/bastion/vitest.integration.config.ts new file mode 100644 index 0000000..8b5cb24 --- /dev/null +++ b/bastion/vitest.integration.config.ts @@ -0,0 +1,9 @@ +import { defineConfig } from 'vitest/config'; + +export default defineConfig({ + test: { + globals: true, + include: ['tests/integration/**/*.test.ts'], + testTimeout: 600000, + }, +});