Validate NixOS Configuration Changes in a QEMU VM Before Rebuilding Hardware
Test NixOS configuration changes in a disposable QEMU VM before running nixos-rebuild switch on physical hardware.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Test NixOS configuration changes in a disposable QEMU VM before running nixos-rebuild switch on physical hardware.
I want to run a qemu-kvm guest with Debian 9 as its OS on a Debian 10 host. The host is connected to the local network, and I would like the guest to be "visible" to the local network as if it were a regular device connected directly to the network. To this end, I configured a bridge named br0 on the host by editing /etc/network/interfaces as follows: auto l
I created two QEMU VMs using Ubuntu cloud images . Then, I started them and enabled the ssh port forwarding using the following command: qemu-system-x86_64 -m 4G -smp 4 -hda ./ubuntu2404-vm0.img \ -device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::2222-:22 \ -nographic -enable-kvm qemu-system-x86_64 -m 4G -smp 4 -hda ./ubuntu2404-vm1.img \ -device e
commented · 27 Mar 2024, 09:37 UTC