aws / eks-anywhere

Run Amazon EKS on your own infrastructure 🚀
https://anywhere.eks.amazonaws.com
Apache License 2.0
1.96k stars 284 forks source link

image-builder failed with error "qemu-system-x86_64": executable file not found in $PATH #5938

Open csantanapr opened 1 year ago

csantanapr commented 1 year ago

What happened:

Trying to create ubuntu baremetal image for Intel NUC following instructions from https://anywhere.eks.amazonaws.com/docs/reference/artifacts/#build-bare-metal-node-images

Ran the command to build

image-builder build --os ubuntu --hypervisor baremetal --release-channel 1-26

Got error:

Build 'qemu' errored after 964 microseconds: Failed creating Qemu driver: exec: "qemu-system-x86_64": executable file not found in $PATH

What you expected to happen:

The script to

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

csantanapr commented 1 year ago

Workaround that remove the error, but building image failed which I will open a different issue

sudo apt install qemu-system-x86 

Docs should be updated with this additional package