Skip to content

Commit

Permalink
manifest: set rootfs label in ostree deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
achilleas-k committed Nov 27, 2023
1 parent bd8690b commit 1733cb3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/manifest/ostree_deployment.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,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))
Expand Down

0 comments on commit 1733cb3

Please sign in to comment.