AFIACS the ignition %post script just runs "virt-what" to set platform.id. Shouldn't that also work dynamically in initrd if virt-what was included there?