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

Secure boot not working on custom ISO created by Auroraboot #2194

Open
swetasgit opened this issue Jan 29, 2024 · 0 comments
Open

Secure boot not working on custom ISO created by Auroraboot #2194

swetasgit opened this issue Jan 29, 2024 · 0 comments
Labels
bug Something isn't working triage Add this label to issues that should be triaged and prioretized in the next planning call

Comments

@swetasgit
Copy link

swetasgit commented Jan 29, 2024

Kairos version:

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
KAIROS_FLAVOR_RELEASE="bookworm"
KAIROS_VARIANT="standard"
KAIROS_TARGETARCH="amd64"
KAIROS_RELEASE="v3.0.0-alpha1"
KAIROS_BUG_REPORT_URL="https://github.com/kairos-io/kairos/issues"
KAIROS_SOFTWARE_VERSION_PREFIX="k3s"
KAIROS_IMAGE_REPO="quay.io/kairos/debian:bookworm-standard-amd64-generic-v3.0.0-alpha1-k3sv1.29.0-k3s1"
KAIROS_ARTIFACT="kairos-debian-bookworm-standard-amd64-generic-v3.0.0-alpha1-k3sv1.29.0+k3s1"
KAIROS_FLAVOR="debian"
KAIROS_HOME_URL="https://github.com/kairos-io/kairos"
KAIROS_SOFTWARE_VERSION="v1.29.0+k3s1"
KAIROS_ID="kairos"
KAIROS_ID_LIKE="kairos-standard-debian-bookworm"
KAIROS_MODEL="generic"
KAIROS_GITHUB_REPO="kairos-io/kairos"
KAIROS_VERSION="v3.0.0-alpha1-v1.29.0-k3s1"
KAIROS_IMAGE_LABEL="bookworm-standard-amd64-generic-v3.0.0-alpha1-k3sv1.29.0-k3s1"
KAIROS_PRETTY_NAME="kairos-standard-debian-bookworm v3.0.0-alpha1-v1.29.0-k3s1"
KAIROS_REGISTRY_AND_ORG="quay.io/kairos"
KAIROS_NAME="kairos-standard-debian-bookworm"
KAIROS_VERSION_ID="v3.0.0-alpha1-v1.29.0-k3s1"

CPU architecture, OS, and Version:

Linux localhost 6.1.0-17-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86_64 GNU/Linux
Describe the bug

Create a iso using auroraboot following https://kairos.io/docs/installation/automated/

The secure boot is not working when ISO is created using auroraboot.

To Reproduce
Create a Dockerfile
[root@localhost ~]# cat Dockerfile
FROM quay.io/kairos/debian:bookworm-standard-amd64-generic-v3.0.0-alpha1-k3sv1.29.0-k3s1
[root@localhost ~]# cat makeiso.sh
#!/bin/bash

set -ex

Build the container image

docker build -t karios .

Create an ISO

docker run -v "$PWD"/build:/tmp/auroraboot
-v /var/run/docker.sock:/var/run/docker.sock
--rm -ti quay.io/kairos/auroraboot:v0.2.7
--set container_image=docker://karios
--set "disable_http_server=true"
--set "disable_netboot=true"
--set "state_dir=/tmp/auroraboot"

Enable Secure boot to boot the iso

Expected behavior

Vm boots up with secure boot enabled
Logs

image

Additional context

@swetasgit swetasgit added the bug Something isn't working label Jan 29, 2024
@jimmykarily jimmykarily moved this to In Progress 🏃 in 🧙Issue tracking board Feb 6, 2024
@jimmykarily jimmykarily moved this from In Progress 🏃 to Todo 🖊 in 🧙Issue tracking board Feb 6, 2024
@mudler mudler added the triage Add this label to issues that should be triaged and prioretized in the next planning call label Mar 27, 2024
@mudler mudler removed their assignment Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Add this label to issues that should be triaged and prioretized in the next planning call
Projects
Status: No status
Development

No branches or pull requests

2 participants