From c17bafe1ccc46bebe19fd8846be8b8d926461af2 Mon Sep 17 00:00:00 2001 From: Binu Jose Philip Date: Tue, 11 Aug 2026 15:24:59 -0700 Subject: [PATCH] feat(images): add 1p-vm-base-gen1-fips image Add the Azure Linux 4.0 1P VM Base Gen1 FIPS (BIOS) image. It matches the Gen1 base image with FIPS enabled through `fips=1` on the kernel command line and the dracut-fips module. Legacy BIOS boot uses an MBR disk and grub2-pc without EFI packages. The image relies on package-provided cloud-init, chrony/PTP, and Hyper-V configuration, with no KIWI file injection or config.sh post-install customization. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 727c4c35-afde-4eb0-82bf-b307f6550d58 --- .../1p-vm-base-gen1-fips.kiwi | 149 ++++++++++++++++++ base/images/images.toml | 25 +++ 2 files changed, 174 insertions(+) create mode 100644 base/images/1p-vm-base-gen1-fips/1p-vm-base-gen1-fips.kiwi diff --git a/base/images/1p-vm-base-gen1-fips/1p-vm-base-gen1-fips.kiwi b/base/images/1p-vm-base-gen1-fips/1p-vm-base-gen1-fips.kiwi new file mode 100644 index 00000000000..3df63106329 --- /dev/null +++ b/base/images/1p-vm-base-gen1-fips/1p-vm-base-gen1-fips.kiwi @@ -0,0 +1,149 @@ + + + + + Azure Linux + azurelinux@microsoft.com + Azure Linux 4.0 1P VM Base Gen1 (BIOS) FIPS Image + + + + 0.1 + dnf5 + en_US + us + UTC + 4.0 + + + 5 + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/base/images/images.toml b/base/images/images.toml index 8a3ccf643c8..cfdee1d890e 100644 --- a/base/images/images.toml +++ b/base/images/images.toml @@ -93,6 +93,27 @@ container = false systemd = true runtime-package-management = true +# ---- 1p-vm-base-gen1-fips ---------------------------------------------- + +[images.1p-vm-base-gen1-fips] +description = "1P VM Base Gen1 FIPS Image (BIOS)" +definition = { type = "kiwi", path = "1p-vm-base-gen1-fips/1p-vm-base-gen1-fips.kiwi" } +tests.test-suites = [ + { name = "static-image-checks" }, + { name = "lisa-main" }, + { name = "lisa-xfs" }, + { name = "lisa-perf" }, + { name = "lisa-smoke" }, + { name = "lisa-kernel-ltp" }, + { name = "lisa-fips" }, +] + +[images.1p-vm-base-gen1-fips.capabilities] +machine-bootable = true +container = false +systemd = true +runtime-package-management = true + # ---- container-base (core profile) ------------------------------------- [images.container-base] description = "Container Base Image" @@ -221,6 +242,10 @@ description = "Lisa cvm tests" type = "lisa" description = "Lisa kernel LTP tests" +[test-suites.lisa-fips] +type = "lisa" +description = "Lisa FIPS Tests" + # Single shared pytest suite for static (offline) image validation. [test-suites.static-image-checks] type = "pytest"