Comment by mmh0000

14 hours ago

This is neat, and thank you for sharing!

I've been wanting to set up something exactly like this for my own use, but... You know, time is limited.

This is just enough scaffolding to have a little project for Monday morning!

There are many ways and tools on linux to get a "VM" up and running. But with libvirt you can easy script out what the initial environment and network stack is. The heart of it is just running the 'virt-install' command, but as you can see I've got a bunch of other opinionated stuff going on before that.