kubernetes-sigs/image-builder

Flatcar support for OpenStack

kopiczko opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
I'd like to be able to build a Flatcar image for OpenStack. Currently I can build a QEMU image with OEM partition empty. I need to set oem parameter manually for the image to pull ignition data from OpenStack user-data service. It looks more or less like this right now:

guestmount -m /dev/sda6 -a ./image /mnt

echo 'set oem_id="openstack"' > /mnt/grub.cfg
chmod 644 /mnt/grub.cfg

guestunmount /mnt

Describe the solution you'd like
Could be an extra make target like make build-openstack-flatcar or extra env var like make FLATCAR_OEM=openstack build-qemu-flatcar

Describe alternatives you've considered
N/A

Additional context
Add any other context or screenshots about the feature request here.

/kind feature

/cc @invidian @pothos @dongsupark @johananl