Skip to content

Commit d34a0b1

Browse files
authored
add arm64 fips image definition (#11849)
1 parent 183fb9b commit d34a0b1

1 file changed

Lines changed: 86 additions & 0 deletions

File tree

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
{
2+
"Disks": [
3+
{
4+
"PartitionTableType": "gpt",
5+
"MaxSize": 5000,
6+
"Artifacts": [
7+
{
8+
"Name": "cblmariner-arm64-gen2-fips",
9+
"Type": "vhd"
10+
}
11+
],
12+
"Partitions": [
13+
{
14+
"ID": "efi",
15+
"Flags": [
16+
"esp",
17+
"boot"
18+
],
19+
"Start": 1,
20+
"End": 65,
21+
"FsType": "fat32"
22+
},
23+
{
24+
"ID": "boot",
25+
"Start": 65,
26+
"End": 565,
27+
"FsType": "ext4"
28+
},
29+
{
30+
"ID": "rootfs",
31+
"Name": "rootfs",
32+
"Start": 565,
33+
"End": 0,
34+
"FsType": "ext4"
35+
}
36+
]
37+
}
38+
],
39+
"SystemConfigs": [
40+
{
41+
"Name": "Standard",
42+
"BootType": "efi",
43+
"PartitionSettings": [
44+
{
45+
"ID": "efi",
46+
"MountPoint": "/boot/efi",
47+
"MountOptions" : "umask=0077"
48+
},
49+
{
50+
"ID": "boot",
51+
"MountPoint": "/boot"
52+
},
53+
{
54+
"ID": "rootfs",
55+
"MountPoint": "/"
56+
}
57+
],
58+
"PackageLists": [
59+
"packagelists/fips-packages.json",
60+
"packagelists/core-packages-image-aarch64.json",
61+
"packagelists/marketplace-tools-packages.json",
62+
"packagelists/azurevm-packages.json",
63+
"packagelists/hyperv-packages.json"
64+
],
65+
"AdditionalFiles": {
66+
"additionalconfigs/cloud-init.cfg": "/etc/cloud/cloud.cfg",
67+
"additionalconfigs/chrony.cfg": "/etc/chrony.conf",
68+
"additionalconfigs/wait-for-ptp-hyperv.conf": "/etc/systemd/system/chronyd.service.d/wait-for-ptp-hyperv.conf",
69+
"additionalconfigs/51-ptp-hyperv.rules": "/etc/udev/rules.d/51-ptp-hyperv.rules"
70+
},
71+
"PostInstallScripts": [
72+
{
73+
"Path": "additionalconfigs/configure-systemd-networkd.sh"
74+
}
75+
],
76+
"KernelOptions": {
77+
"default": "kernel"
78+
},
79+
"KernelCommandLine": {
80+
"EnableFIPS": true,
81+
"ExtraCommandLine": "console=tty1 console=ttyAMA0 earlycon=pl011,0xeffec000 initcall_blacklist=arm_pmu_acpi_init"
82+
},
83+
"Hostname": "azurelinux"
84+
}
85+
]
86+
}

0 commit comments

Comments
 (0)