Skip to content

Commit

Permalink
add arm64 fips image definition (#11849)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasb-ms authored Jan 11, 2025
1 parent 183fb9b commit d34a0b1
Showing 1 changed file with 86 additions and 0 deletions.
86 changes: 86 additions & 0 deletions toolkit/imageconfigs/marketplace-gen2-aarch64-fips.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"Disks": [
{
"PartitionTableType": "gpt",
"MaxSize": 5000,
"Artifacts": [
{
"Name": "cblmariner-arm64-gen2-fips",
"Type": "vhd"
}
],
"Partitions": [
{
"ID": "efi",
"Flags": [
"esp",
"boot"
],
"Start": 1,
"End": 65,
"FsType": "fat32"
},
{
"ID": "boot",
"Start": 65,
"End": 565,
"FsType": "ext4"
},
{
"ID": "rootfs",
"Name": "rootfs",
"Start": 565,
"End": 0,
"FsType": "ext4"
}
]
}
],
"SystemConfigs": [
{
"Name": "Standard",
"BootType": "efi",
"PartitionSettings": [
{
"ID": "efi",
"MountPoint": "/boot/efi",
"MountOptions" : "umask=0077"
},
{
"ID": "boot",
"MountPoint": "/boot"
},
{
"ID": "rootfs",
"MountPoint": "/"
}
],
"PackageLists": [
"packagelists/fips-packages.json",
"packagelists/core-packages-image-aarch64.json",
"packagelists/marketplace-tools-packages.json",
"packagelists/azurevm-packages.json",
"packagelists/hyperv-packages.json"
],
"AdditionalFiles": {
"additionalconfigs/cloud-init.cfg": "/etc/cloud/cloud.cfg",
"additionalconfigs/chrony.cfg": "/etc/chrony.conf",
"additionalconfigs/wait-for-ptp-hyperv.conf": "/etc/systemd/system/chronyd.service.d/wait-for-ptp-hyperv.conf",
"additionalconfigs/51-ptp-hyperv.rules": "/etc/udev/rules.d/51-ptp-hyperv.rules"
},
"PostInstallScripts": [
{
"Path": "additionalconfigs/configure-systemd-networkd.sh"
}
],
"KernelOptions": {
"default": "kernel"
},
"KernelCommandLine": {
"EnableFIPS": true,
"ExtraCommandLine": "console=tty1 console=ttyAMA0 earlycon=pl011,0xeffec000 initcall_blacklist=arm_pmu_acpi_init"
},
"Hostname": "azurelinux"
}
]
}

0 comments on commit d34a0b1

Please sign in to comment.