Skip to content

Commit 04e27f6

Browse files
authored
SeedImage: fix registration yaml name (#394)
Otherwise auto-install would not work: ---- rancher-7934:/system/oem # cat 99_elemental-register.yaml name: "Elemental operator bootstrap" stages: network.after: # run only if on live cd and there is a config file - if: '[ -f /run/cos/live_mode ] && [ -f /run/initramfs/live/livecd-cloud-config.yaml ]' commands: - systemd-cat -t elemental elemental-register --debug /run/initramfs/live/ Signed-off-by: Francesco Giudici <[email protected]>
1 parent 52637a0 commit 04e27f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/seedimage_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ func fillBuildImagePod(name, namespace, baseImg, regURL string) *corev1.Pod {
360360
fmt.Sprintf("%s && %s && %s",
361361
fmt.Sprintf("curl -Lo base.img %s", baseImg),
362362
fmt.Sprintf("curl -ko reg.yaml %s", regURL),
363-
"xorriso -indev base.img -outdev /iso/elemental.iso -map reg.yaml /reg.yaml -boot_image any replay"),
363+
"xorriso -indev base.img -outdev /iso/elemental.iso -map reg.yaml /livecd-cloud-config.yaml -boot_image any replay"),
364364
},
365365
VolumeMounts: []corev1.VolumeMount{
366366
{

0 commit comments

Comments
 (0)