From fd87ecfce9510ed508ba702fe12fc93c8c7cfaa4 Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Fri, 10 Nov 2023 16:20:03 +0100 Subject: [PATCH] manifest: set rootfs label in ostree deployment --- pkg/manifest/ostree_deployment.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/manifest/ostree_deployment.go b/pkg/manifest/ostree_deployment.go index 18dc7d92b..fc64979d2 100644 --- a/pkg/manifest/ostree_deployment.go +++ b/pkg/manifest/ostree_deployment.go @@ -270,6 +270,9 @@ func (p *OSTreeDeployment) serialize() osbuild.Pipeline { // we should make this configurable TargetImgref: fmt.Sprintf("ostree-remote-registry:%s:%s", p.Remote.Name, p.containerSpec.Source), Mounts: []string{"/boot", "/boot/efi"}, + Rootfs: &osbuild.Rootfs{ + Label: "root", + }, } images := osbuild.NewContainersInputForSources([]container.Spec{cont}) pipeline.AddStage(osbuild.NewOSTreeDeployContainerStage(options, images))