From 1b83f9e00763419a277edd509e0de651ab42db0c Mon Sep 17 00:00:00 2001 From: Binu Jose Philip Date: Wed, 12 Aug 2026 10:43:51 -0700 Subject: [PATCH] feat(images): add 1p-vm-base-gen2-fips image Add the Azure Linux 4.0 1P VM Base Gen2 FIPS image with: - UEFI boot and VHD-fixed output - x86_64 and aarch64 architecture support - FIPS mode enabled through the kernel command line and dracut-fips - cloud-init and systemd-networkd networking without netplan - WALinuxAgent for Azure provisioning 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-gen2-fips.kiwi | 188 ++++++++++++++++++ base/images/images.toml | 15 ++ 2 files changed, 203 insertions(+) create mode 100644 base/images/1p-vm-base-gen2-fips/1p-vm-base-gen2-fips.kiwi diff --git a/base/images/1p-vm-base-gen2-fips/1p-vm-base-gen2-fips.kiwi b/base/images/1p-vm-base-gen2-fips/1p-vm-base-gen2-fips.kiwi new file mode 100644 index 00000000000..9ebe6e67e03 --- /dev/null +++ b/base/images/1p-vm-base-gen2-fips/1p-vm-base-gen2-fips.kiwi @@ -0,0 +1,188 @@ + + + + + Azure Linux + azurelinux@microsoft.com + Azure Linux 4.0 1P VM Base Gen2 (UEFI) FIPS Image + + + + 0.1 + dnf5 + en_US + us + UTC + 4.0 + + + 5 + + false + + + + + + 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..d2feee3b97b 100644 --- a/base/images/images.toml +++ b/base/images/images.toml @@ -93,6 +93,21 @@ container = false systemd = true runtime-package-management = true +# ---- 1p-vm-base-gen2-fips ---------------------------------------------- + +[images.1p-vm-base-gen2-fips] +description = "1P VM Base Gen2 FIPS Image (UEFI)" +definition = { type = "kiwi", path = "1p-vm-base-gen2-fips/1p-vm-base-gen2-fips.kiwi" } +tests.test-suites = [ + { name = "static-image-checks" }, +] + +[images.1p-vm-base-gen2-fips.capabilities] +machine-bootable = true +container = false +systemd = true +runtime-package-management = true + # ---- container-base (core profile) ------------------------------------- [images.container-base] description = "Container Base Image"