diff --git a/pkg/manifest/anaconda_installer_iso_tree.go b/pkg/manifest/anaconda_installer_iso_tree.go index 02bb67e8e5..8fc5461deb 100644 --- a/pkg/manifest/anaconda_installer_iso_tree.go +++ b/pkg/manifest/anaconda_installer_iso_tree.go @@ -155,10 +155,10 @@ func (p *AnacondaInstallerISOTree) serialize() osbuild.Pipeline { pipeline.AddStage(osbuild.NewMkdirStage(&osbuild.MkdirStageOptions{ Paths: []osbuild.MkdirStagePath{ { - Path: "images", + Path: "/images", }, { - Path: "images/pxeboot", + Path: "/images/pxeboot", }, }, })) @@ -167,7 +167,7 @@ func (p *AnacondaInstallerISOTree) serialize() osbuild.Pipeline { pipeline.AddStage(osbuild.NewMkdirStage(&osbuild.MkdirStageOptions{ Paths: []osbuild.MkdirStagePath{ { - Path: "LiveOS", + Path: "/LiveOS", }, }, })) diff --git a/pkg/manifest/coi_iso_tree.go b/pkg/manifest/coi_iso_tree.go index 19101136ed..269f977373 100644 --- a/pkg/manifest/coi_iso_tree.go +++ b/pkg/manifest/coi_iso_tree.go @@ -98,10 +98,10 @@ func (p *CoreOSISOTree) serialize() osbuild.Pipeline { pipeline.AddStage(osbuild.NewMkdirStage(&osbuild.MkdirStageOptions{ Paths: []osbuild.MkdirStagePath{ { - Path: "images", + Path: "/images", }, { - Path: "images/pxeboot", + Path: "/images/pxeboot", }, }, })) diff --git a/pkg/manifest/iso_rootfs.go b/pkg/manifest/iso_rootfs.go index 7078306e98..69de52b34a 100644 --- a/pkg/manifest/iso_rootfs.go +++ b/pkg/manifest/iso_rootfs.go @@ -30,12 +30,12 @@ func (p *ISORootfsImg) serialize() osbuild.Pipeline { pipeline.AddStage(osbuild.NewMkdirStage(&osbuild.MkdirStageOptions{ Paths: []osbuild.MkdirStagePath{ { - Path: "LiveOS", + Path: "/LiveOS", }, }, })) pipeline.AddStage(osbuild.NewTruncateStage(&osbuild.TruncateStageOptions{ - Filename: "LiveOS/rootfs.img", + Filename: "/LiveOS/rootfs.img", Size: fmt.Sprintf("%d", p.Size), }))