[[ -f test/root.ext2 ]] || test/make-test-root
./dracut -c test/dracut.conf.test -l -f test/initramfs.testing || exit
-qemu-kvm -hda test/root.ext2 -m 512M -nographic -net none \
- -kernel /boot/vmlinuz-$kernel \
- -append "root=/dev/sda init=/init rw rootfstype=ext2 quiet ramfsdebug console=ttyS0,115200n81" \
- -initrd test/initramfs.testing
+#qemu-kvm -hda test/root.ext2 -m 512M -nographic -net none \
+# -kernel /boot/vmlinuz-$kernel \
+# -append "root=/dev/sda init=/init rw rootfstype=ext2 quiet ramfsdebug console=ttyS0,115200n81" \
+# -initrd test/initramfs.testing
+
+qemu-kvm -hda test/root.ext2 -m 512M -nographic \
+ -net nic,macaddr=52:54:00:12:34:56 \
+ -net user \
+ -kernel /boot/vmlinuz-$kernel \
+ -initrd test/initramfs.testing \
+ -append "root=/dev/sda init=/init rw rootfstype=ext2 console=ttyS0,115200n81"
+