Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images generated by distrobuilder does not boot on OpenStack #848

Open
Calebe94 opened this issue May 22, 2024 · 1 comment
Open

Images generated by distrobuilder does not boot on OpenStack #848

Calebe94 opened this issue May 22, 2024 · 1 comment

Comments

@Calebe94
Copy link

I've generated some Ubuntu images using distrobuilder, but it does not boot properly without setting some image properties:

openstack image set --property hw_machine_type=q35 --property hw_firmware_type=uefi --property os_secure_boot=required <image-uuid>

Without these properties the VM cannot boot. Here's the console screen:

seabios-console

I'm using this file from lxc-ci/images/ubuntu with a minor difference. I'm redirecting the console tty0, so it can show the logs in Openstack's instance "Log" tab.

    GRUB_CMDLINE_LINUX_DEFAULT="${GRUB_CMDLINE_LINUX_DEFAULT} console=tty0 console=ttyS0,115200n8"

Can you guys give me some hints on what I'm doing wrong?

@stgraber
Copy link
Member

You're not doing anything wrong, distrobuilder just doesn't build BIOS bootable images but only UEFI bootable images, so those OpenStack properties are required if you're going to be using images generated by distrobuilder.

The normal target for distrobuiler images is Incus which has UEFI enabled by default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants