coreos-assembler icon indicating copy to clipboard operation
coreos-assembler copied to clipboard

use osbuild from supermin

Open cgwalters opened this issue 2 years ago • 1 comments

A while ago in the interest of sharing code with osbuild/image builder we just started shipping the RPM package, see https://github.com/coreos/coreos-assembler/blob/7fa68d004186b63d6ff2995fb09829ee2c990c67/src/deps.txt#L23 (which got temporarily disabled, we could probably re-enable)

But anyways what I then got stuck on is the giant impedance mismatch between osbuild wanting to run as root as a systemd service versus coreos-assembler wanting to run as an unprivileged container with /dev/kvm.

But @dustymabe mentioned the idea we could start running osbuild code inside a supermin vm, I think basically replacing our create_disk.sh script.

cgwalters avatar Apr 28 '23 15:04 cgwalters

Discovery: The CentOS Automotive pipeline has code to run osbuild in qemu: https://gitlab.com/CentOS/automotive/sample-images/-/blob/main/osbuild-manifests/osbuildvm/osbuildvm?ref_type=heads

cgwalters avatar Sep 20 '23 21:09 cgwalters

This was done in https://github.com/coreos/coreos-assembler/pull/3643

osbuild is being run in our pipelines via a supermin VM.

dustymabe avatar May 09 '24 14:05 dustymabe