Further to the #QEMU story, today I've been playing with the Virtual Machine Manager (#virt-manager) software to manage my VMs. I was surprised by the lack of any clear documentation, so I wrote down a how-to about setting up and configuring virt-manager on a Linux host.
I also added some notes on how to import an existing QEMU VM.
All available here:
https://codeberg.org/bitsgalore/gists/src/branch/main/qemu-virt-manager/qemu-virt-manager.md
I will probably add more over time; eventually this might end up as a blog post.
As I setup a #Windows VM on my new laptop, I'm actually going to do two things differently.
The first thing I'm doing differently is using Virtualbox instead of #virt-manager. While I love to use the latter, I think #VirtualBox will have better support for Windows guests. Consequently, I'll be using Virtualbox, but only for Windows. For other OSes, including #FreeBSD, virt-manager and KVM will be my preferred hypervisor.
The second thing I'm doing differently is using a shared folder for all my projects. This way, I don't have to duplicate my work across two different repositories. If I'm working on a change to something, my work is already synced, and I don't need to perform extra steps to get my work over from the VM to my computer. This should help speed up my workflow a bit. I will also be doing this for KVM guests too.
Nothing too much, but some things that should improve my workflow a little bit! I'm still getting setup in the Windows VM as we speak (installing Visual Studio), but once we get up and going I'll work on some Windows-specific issues (namely DPI scaling not working; let's hope that I can get that fixed!).
Just learned that you can pass the pci bus address and slot parameters to the #network paramters of #virt-install and thus get stable enp network device names in the VM for use with e.g. #ubuntu #autoinstall.yaml files.
For example:--network network="testnet",model=virtio,address.type=pci,address.bus=0x02,address.slot=0x00
will be enp2s0 in the VM.
Neat.
quicktipp #101: Proxmox PVE: Using `virt-customize` (from `libguestfs-tools`) to inject the qemu-guest-agent into the Ubuntu cloudimage.
Other than i.e. the Fedora cloudimage, the stock Ubuntu cloudimage comes without the qemu-guest-agent preinstalled. Here's an easy way to add it using the `virt-customize` tool.
#proxmox #pve #proxmoxpve #qemu #ubuntu #cloudimage #cloudinit #qcow2 #virtualization #virt #vm #cloud
Just published a comprehensive guide on setting up IPv6 prefix delegation for VMs using systemd-networkd!
https://sebastianmeisel.github.io/Ostseepinguin/IPv6Prefix_virtmanager.html
- Configure VLANs for VM isolation
- Bridge networking with systemd-networkd
- IPv6 prefix delegation setup
- Router and switch configuration
- Troubleshooting bridge filtering issues
Any feedback is welcome!
#ipv6 #virt #networking #Linux #vlan #vlan_tagging