bento icon indicating copy to clipboard operation
bento copied to clipboard

Debian libvirt images

Open votdev opened this issue 3 months ago • 1 comments

Describe the Enhancement

Add support for Debian, e.g. Trixie/v13, libvirt images.

Describe the Need

Since the Debian project itself no longer provides images, the possibility of obtaining Debian images from reputable sources is now unfortunately very limited.

Current Alternative

Use existing images from unknown sources.

Can We Help You Implement This

No 🙁

votdev avatar Sep 03 '25 19:09 votdev

The broken Debian builds are due to libvirt using virtio which names block devices /dev/vda. The configuration is hard coded to use /dev/sda. I created a PR with the changes (#1631).

@votdev Until there is a bento release with a libvirt box, you can build your own from the bento repository. Install bento as described in the README. Clone the repository and apply the changes that replace /dev/sda, like in #1631, and run bento build... from the repository root. bento build -d --gui -o qemu.vm --vars "ssh_timeout=90m" os_pkrvars/debian/debian-13-x86_64.pkrvars.hcl worked for me and opens VNC to follow the progress/see potential errors). Then you can vagrant box add <your box name> <box file> locally. Or throw it on a server or upload it to hashicorp cloud.

csenger avatar Sep 24 '25 09:09 csenger