Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/action/build-iso.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func grubCfgTemplate(arch string) string {

menuentry "%s" --class os --unrestricted {
echo Loading kernel...
linux ($root)` + constants.ISOKernelPath(arch) + ` cdroot root=live:CDLABEL=%s rd.live.dir=/ rd.live.squashimg=rootfs.squashfs console=tty1 console=ttyS0 rd.cos.disable cos.setup=` + constants.ISOCloudInitPath + `
linux ($root)` + constants.ISOKernelPath(arch) + ` cdroot root=live:CDLABEL=%s rd.live.dir=/ rd.live.squashimg=rootfs.squashfs console=tty1 console=ttyS0 elemental.disable elemental.setup=` + constants.ISOCloudInitPath + `
echo Loading initrd...
initrd ($root)` + constants.ISOInitrdPath(arch) + `
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/runstage.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func RunStage(cfg *types.Config, stage string, strict bool, cloudInitPaths ...st
for _, line := range cmdLineArgs {
if strings.Contains(line, "=") {
lineSplit := strings.Split(line, "=")
if lineSplit[0] == "cos.setup" {
if lineSplit[0] == "cos.setup" || lineSplit[0] == "elemental.setup" {
cloudInitPaths = append(cloudInitPaths, strings.TrimSpace(lineSplit[1]))
cfg.Logger.Debugf("Found cos.setup stanza on cmdline with value %s", lineSplit[1])
}
Expand Down