distro/f30/ami: make the images boot on aws

This makes the image in line whith the ones produced by lorax.

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2019-11-26 00:53:49 +01:00 committed by Lars Karlitski
parent de93ddc757
commit 382d4e2118
2 changed files with 13 additions and 5 deletions

View file

@ -30,9 +30,9 @@ func (t *amiOutput) translate(b *blueprint.Blueprint) (*pipeline.Pipeline, error
return nil, err
}
setFilesystems(p)
setBootloader(p, "ro biosdevname=0 net.ifnames=0", b)
setBootloader(p, "ro no_timer_check console=ttyS0,115200n8 console=tty1 biosdevname=0 net.ifnames=0 console=ttyS0,115200", b)
setFirewall(p, nil, nil, b)
setServices(p, nil, nil, b)
setServices(p, []string{"cloud-init.service"}, nil, b)
setQemuAssembler(p, "raw", t.getName())
return p, nil