[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: PATCH: mkinitrd: mkinitrd-6.0.75-iscsi-chap-fix.patch





Jeremy Katz wrote:
On Sunday, February 01 2009, Hans de Goede said:
This patch adds --show to the iscsiadm invocation, so that we get the actual
chap passwords instead of "********"

This fixes ibft booting from iscsi with chap.

-ENOPATCH


Oops, attached now.

Regards,

Hans
diff -up mkinitrd-6.0.75/mkinitrd~ mkinitrd-6.0.75/mkinitrd
--- mkinitrd-6.0.75/mkinitrd~	2009-02-01 19:27:23.000000000 +0100
+++ mkinitrd-6.0.75/mkinitrd	2009-02-01 19:27:23.000000000 +0100
@@ -463,7 +463,7 @@ iscsi_set_parameters() {
 
     # Check once before getting explicit values, so we can output a decent
     # error message.
-    /sbin/iscsiadm -m session -r $path > $tmpfile
+    /sbin/iscsiadm --show -m session -r $path > $tmpfile
     if [ ! -s $tmpfile ]; then
         echo Unable to find iscsi record for $path
         exit 1

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]