CmdID / az / az image / az image builder / az image builder optimizer
az image builder optimizer add
Add optimizer to an existing image builder template. Azure CLI reference
1 option Its page in the Azure CLI reference
Options
--enable-vm-bootIf this parameter is set to true, VM boot time will be improved by optimizing the final customized image output.