What are people using Vagrant for these days? The last time I encountered it was before Docker become widespread.
Ditching Vagrant: VMs with KVM and Virsh on Debian
41–49 of 49 posts
Re: Ditching Vagrant: VMs with KVM and Virsh on Debian
#42virt-builder is an alternative to installing a guest OS from scratch. It has a selection of popular guest OSes template images that you can quickly install non-interactively. It's convenient when you don't want to manually install a guest and also don't want to figure out preseed/kickstart/etc. It makes creating new KVM guests easier and has handy features like the ability to copy in ssh keys so you can connect to th…
Re: Ditching Vagrant: VMs with KVM and Virsh on Debian
#43This is the first time in my entire life I've ever seen someone use a Plan 9 formatted disk. Deep respect.
9P is a filesystem protocol (like NFS or CIFS) rather than a local file system (like btrfs or NTFS). It's used to share files between the host and the guest. That way there's no need to copy files between the host and the guest.
The only thing I did know about it was that it was named after the movie "Plan 9 from Outer Space". Kinda cool reference.
Re: Ditching Vagrant: VMs with KVM and Virsh on Debian
#44Honestly though... why not just systemd containers with minimal mounts, and if you're needing an ip, what not an unprivledged LXC container? The surface area is far smaller and they're way easier to inspect.
Systemd-nspawn is great. You can have any networking you like with it too, no need for LXC.
Re: Ditching Vagrant: VMs with KVM and Virsh on Debian
#45Re: Ditching Vagrant: VMs with KVM and Virsh on Debian
#46This is another area I hope I'm able to migrate to systemd. I already use nspawn for containers but vmspawn is still a bit new and limited in the options. Once it gets there though it'll be nice to have system+containers+vms under one consistent roof.
Re: Ditching Vagrant: VMs with KVM and Virsh on Debian
#47What are people using Vagrant for these days? The last time I encountered it was before Docker become widespread.
My homelab consists of several baremetal hosts, Vagrant lets me instantiate a full testing environment from a text file and kick off provisioning scripts.
Re: Ditching Vagrant: VMs with KVM and Virsh on Debian
#48Earlier quoted context omitted.
"around" is the best way to describe it; the libvirt/virt-manager ecosystem isn't dead, but redhat killing off ovirt/rhev support drained a lot of resources out of it. And for some bizarre reason people decided that the much less mature (both organizationally and technologically) proxmox VE is the best thing since sliced bread, so everyone who does care about linux virtualization is now trying to hammer some homelabb…
Red Hat is still using and developing libvirt (though the user facing layer is Kubevirt instead of oVirt) and virt-install, and even though virt-manager is not growing new features libvirt takes backwards compatibility extremely seriously, so new libvirt works with relatively old virt-manager.
Re: Ditching Vagrant: VMs with KVM and Virsh on Debian
#49There used to be virt-manager Wonder if it’s still around ? Hope it’s doing well !
Unfortunately it still exists. Virt manager drives me crazy because it hides the VM files in its own directory with permissions that aren't yours forcing you to use sudo to manually manage your own fucking vm files. Creating a new VM? You're forced to pick an OS by typing the name of your OS into a search box which is tedious and doesnt give you an option for generic x86 machine. I hate it with a burning passion and…