]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90crypt/module-setup.sh: prepend "luks-" to hostonly cmdline file
authorHarald Hoyer <harald@redhat.com>
Mon, 23 Jan 2012 12:50:27 +0000 (13:50 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 23 Jan 2012 12:50:27 +0000 (13:50 +0100)
modules.d/90crypt/module-setup.sh

index a92c18732ea025ad62dceef60c7393a6b84d3eb0..9dc55f544f5fc7151c59dfd40186adf40241a76b 100755 (executable)
@@ -20,7 +20,7 @@ check() {
                 break
                 done)
         [[ ${ID_FS_UUID} ]] || continue
-        echo " rd.luks.uuid=${ID_FS_UUID} " >> "${initdir}/etc/cmdline.d/90crypt.conf"
+        echo " rd.luks.uuid=luks-${ID_FS_UUID} " >> "${initdir}/etc/cmdline.d/90crypt.conf"
     }
 
     [[ $hostonly ]] || [[ $mount_needs ]] && {