microsoft / azurelinux

Linux OS for Azure 1P services and edge appliances
MIT License
4.28k stars 535 forks source link

OSModifier: allow two linux cmdline in grub.cfg #10472

Closed elainezhao96 closed 2 weeks ago

elainezhao96 commented 2 weeks ago
Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)


Summary

What does the PR accomplish, why was it needed? there is one linux cmdline in grub.cfg in trident verity test images, however, there are 2 linux in regular trident test images, one is recovery mode image

Change Log
Does this affect the toolchain?

no

Test Methodology

locally tested with sample grub.cfg, image and with the new function, it only extract linux cmdline object in non recovery mode menuentry: image