33
44 disks :
55 - partitionTableType : gpt
6- maxSize : 24G
6+ maxSize : 40G
77 partitions :
88 - id : esp
99 type : esp
@@ -26,7 +26,7 @@ storage:
2626 - id : root-a
2727 type : root
2828 label : root-a
29- size : 4G
29+ size : 12G
3030
3131 verity :
3232 - id : usrverity
@@ -42,26 +42,26 @@ storage:
4242 mountPoint :
4343 idType : part-label
4444 path : /boot/efi
45- options : umask=0077 ,noexec,nodev
45+ options : nodev ,noexec,umask=0077
4646
4747 - deviceId : boot-a
4848 type : ext4
4949 mountPoint :
5050 idType : uuid
5151 path : /boot
52- options : noexec, nodev,nosuid
52+ options : nodev,noexec ,nosuid
5353
5454 - deviceId : usrverity
5555 type : ext4
5656 mountPoint :
5757 path : /usr
58- options : ro, nodev
58+ options : nodev,ro
5959
6060 - deviceId : root-a
6161 type : ext4
6262 mountPoint :
6363 path : /
64- options : nodev,nosuid,x-initrd.mount ,x-systemd.growfs
64+ options : nodev,nosuid,x-systemd.growfs ,x-initrd.mount
6565
6666os :
6767 bootloader :
8383 - rd.hostonly=0
8484 - ipe.enforce=0
8585 - fips=1
86+ - net.ifnames=1
8687
8788 packages :
8889 remove :
89- - initramfs
9090 - dracut-hostonly # Not used for UKI images
9191 - grub2-efi-binary # Replaced by systemd-boot
9292 - kernel # Replaced by kernel-ipe
93-
9493 install :
9594 - syslog
9695 - WALinuxAgent
121120 - policycoreutils-python-utils
122121 - secilc
123122 - selinux-policy
124- # - selinux-policy-ci
123+ - selinux-policy-ci
125124 - selinux-policy-modules
126125 - setools-console
127- - chrony
128126
129127 # === System packages ===
130128 - systemd-ukify
139137 - bind-utils
140138 - tar
141139 # =====AKS=====
140+ - blobfuse2
142141 - ca-certificates
142+ - chrony
143143 - cifs-utils
144144 - cloud-init-azure-kvp
145145 - conntrack-tools
@@ -152,11 +152,15 @@ os:
152152 - iproute
153153 - ipset
154154 - iptables
155+ - iscsi-initiator-utils
155156 - jq
156157 - logrotate
157158 - lsof
159+ - netplan
160+ - nftables
158161 - nmap-ncat
159162 - nfs-utils
163+ - oras
160164 - pam
161165 - psmisc
162166 - rsyslog
166170 - util-linux
167171 - xz
168172 - zip
169- - blobfuse2
170- - nftables
171- - iscsi-initiator-utils
172- - netplan
173- - oras
174- - initramfs
175173
176174 additionalDirs :
177175 - source : files/osguard/repart.d
182180 # SELinux customizations
183181 - source : files/linuxguard/selinux-ci-uki.semanage
184182 destination : /etc/selinux/targeted/selinux-ci.semanage
185- - source : files/common/99-dhcp-eth0.network
186- destination : /etc/systemd/network/99-dhcp-eth0.network
187183 # Cloud-init configuration
188184 - source : files/osguard/cloud.cfg
189185 destination : /etc/cloud/cloud.cfg
202198 permissions : " 600"
203199
204200 services :
205- enable :
201+ disable :
206202 - sshd
203+ enable :
207204 - systemd-networkd
208205 - systemd-resolved
209206
@@ -214,14 +211,24 @@ os:
214211
215212scripts :
216213 postCustomization :
214+ # Various performance tuning steps
217215 - path : scripts/common/performance-tuning.sh
218- # Config AzureLinuxagent
216+ # Config AzureLinuxAgent
219217 - path : scripts/common/azlinuxagentconfig.sh
220218 # Disable unused SELinux policy modules and configure SELinux policy for CI
221- # - path: scripts/linuxguard/selinux-ci-config.sh
219+ - path : scripts/common/selinux-ci-config.py
220+ interpreter : /usr/bin/python3
221+ # Ensure the /etc/machine-id is cleared before the first boot
222222 - path : scripts/common/cleanup-machineid.sh
223+ # Move CNI binaries from /opt to /usr for IPE
223224 - path : scripts/common/prepare_trusted_cni_plugins.sh
225+ # Move iptables scripts from /etc to /usr for IPE
226+ - path : scripts/common/move-iptables-scripts-to-usr.sh
227+ # Disable exec and suid on /tmp
224228 - path : scripts/common/tmp-no-exec.sh
229+ # Remove ImportCredential from getty services to avoid boot log warnings
230+ - path : scripts/common/remove-getty-import-credential.sh
231+ # Set OS release variant entries
225232 - path : scripts/set_os_release_variant_entries.sh
226233 arguments :
227234 - --variant-id
0 commit comments