Release new version 0.3.0.
[grml-rescueboot.git] / 42_grml
diff --git a/42_grml b/42_grml
index e30519f..69f4b96 100755 (executable)
--- a/42_grml
+++ b/42_grml
@@ -35,8 +35,10 @@ for grmliso in $list ; do
   cat << EOF
 menuentry "${title}" {
 $(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed -e "s/^/        /")
-        iso_path="${rel_dirname}/$grml $CUSTOM_BOOTOPTIONS"
+        iso_path="${rel_dirname}/${grml}"
         export iso_path
+        kernelopts="$CUSTOM_BOOTOPTIONS"
+        export kernelopts
         loopback loop "${rel_dirname}/$grml"
         set root=(loop)
         configfile /boot/grub/loopback.cfg