Blame SOURCES/0126-iscsi-for-iBFT-read-the-initiator-name-from-the-corr.patch

a56a5e
From 84dfea4d2a9660c7cecfafb6955d075306da2bcb Mon Sep 17 00:00:00 2001
966cef
From: Harald Hoyer <harald@redhat.com>
966cef
Date: Wed, 19 Feb 2014 11:49:34 +0100
966cef
Subject: [PATCH] iscsi: for iBFT read the initiator-name from the correct file
966cef
966cef
/sys/firmware/ibft/initiator-name should be
966cef
/sys/firmware/ibft/initiator/initiator-name
966cef
966cef
https://github.com/haraldh/dracut/issues/12
966cef
---
966cef
 modules.d/95iscsi/iscsiroot.sh | 2 +-
966cef
 1 file changed, 1 insertion(+), 1 deletion(-)
966cef
966cef
diff --git a/modules.d/95iscsi/iscsiroot.sh b/modules.d/95iscsi/iscsiroot.sh
1755ca
index 8b743323..54f49903 100755
966cef
--- a/modules.d/95iscsi/iscsiroot.sh
966cef
+++ b/modules.d/95iscsi/iscsiroot.sh
966cef
@@ -125,7 +125,7 @@ handle_netroot()
966cef
 
966cef
     if [ -z $iscsi_initiator ]; then
966cef
        if [ -f /sys/firmware/ibft/initiator/initiator-name ]; then
966cef
-           iscsi_initiator=$(while read line; do echo $line;done < /sys/firmware/ibft/initiator-name)
966cef
+           iscsi_initiator=$(while read line; do echo $line;done < /sys/firmware/ibft/initiator/initiator-name)
966cef
        fi
966cef
     fi
966cef