From: Harald Hoyer Date: Tue, 12 May 2009 13:35:22 +0000 (+0200) Subject: boot with network X-Git-Tag: 0.1~281 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2647059b7c44689f9352185a611c255d4bcb2852;p=thirdparty%2Fdracut.git boot with network --- diff --git a/test/test-initramfs b/test/test-initramfs index 2b288d463..f1fed7cdd 100755 --- a/test/test-initramfs +++ b/test/test-initramfs @@ -3,7 +3,15 @@ kernel=$(uname -r) [[ -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" +