run.sh: Don't use grubby here either

This commit is contained in:
Colin Walters 2011-10-27 13:02:01 -04:00
parent f7f620e699
commit 6924e79e60
1 changed files with 4 additions and 1 deletions

View File

@ -42,4 +42,7 @@ if (! test -f ${OBJ}) || test gnomeos-fs -nt ${OBJ}; then
mv ${OBJ}.tmp ${OBJ}
fi
exec qemu-kvm -kernel `grubby --default-kernel` -initrd gnomeos-initrd.img -hda gnomeos-fs.img -append "root=/dev/sda ostree=current"
kv=`uname -r`
kernel=/boot/vmlinuz-${kv}
exec qemu-kvm -kernel ${kernel} -initrd gnomeos-initrd.img -hda gnomeos-fs.img -append "root=/dev/sda ostree=current"