News for hackers. Stuff that matters.
Re:Linux Hypervisor Setup (Libvirt/QEMU/KVM) by vegardx on Saturday May 01, 2021 @10:31AM (#27006625)
I was playing around with this a while ago, using cloud-init and virt-install. But I found it to be quite cumbersome if you don't have some kind of metadata service that can provide cloud-init with the user-data, ie. not using the nocloud provider.

I started looking at this mock EC2 metadata service, but never did anything with it: https://github.com/sjjf/md_server

Ninja-edit: It seems like virt-install rencently abstracted the whole NoCloud-provider, this changes a lot of things: https://blog.wikichoon.com/2020/09/virt-install-cloud-init.h...

Re:Linux Hypervisor Setup (Libvirt/QEMU/KVM) by SteveNuts on Saturday May 01, 2021 @10:46AM (#27006742)
We implemented our own mock ec2 metadata service for KVM cloud-init, probably the most fun project I've worked on.

The tricky part is intercepting the requests and redirecting them to your service