summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/g-i-installation.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/g-i-installation.sh b/bin/g-i-installation.sh
index 7f33bd19..8b1bff2f 100755
--- a/bin/g-i-installation.sh
+++ b/bin/g-i-installation.sh
@@ -128,7 +128,10 @@ bootstrap_system() {
QEMU_OPTS="-display vnc=$DISPLAY -no-shutdown"
if [ -n "$IMAGE" ] ; then
QEMU_OPTS="$QEMU_OPTS -cdrom $IMAGE -boot d"
- QEMU_KERNEL="--kernel $IMAGE_MNT/install.amd/vmlinuz --initrd $IMAGE_MNT/install.amd/gtk/initrd.gz"
+ case $NAME in
+ *_kfreebsd) ;;
+ *) QEMU_KERNEL="--kernel $IMAGE_MNT/install.amd/vmlinuz --initrd $IMAGE_MNT/install.amd/gtk/initrd.gz"
+ esac
else
QEMU_KERNEL="--kernel $KERNEL --initrd $INITRD"
fi