dracut/0311-95iscsi-ip-ibft-is-deprecated.patch

32 lines
984 B
Diff
Raw Normal View History

From d6ad4e35af406a344fd1a1a3e872e941e7e59c86 Mon Sep 17 00:00:00 2001
From: Hannes Reinecke <hare@suse.de>
Date: Thu, 13 Oct 2016 10:00:49 +0200
Subject: [PATCH 2/3] 95iscsi: ip=ibft is deprecated
Upstream deprecated 'ip=ibft', so update module-setup.sh to
emit the correct command-line argument.
References: bsc#1004437
Signed-off-by: Hannes Reinecke <hare@suse.com>
---
modules.d/95iscsi/module-setup.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules.d/95iscsi/module-setup.sh b/modules.d/95iscsi/module-setup.sh
index e272b24..d6521f0 100755
--- a/modules.d/95iscsi/module-setup.sh
+++ b/modules.d/95iscsi/module-setup.sh
@@ -61,7 +61,7 @@ install_ibft() {
fi
if [ -d ${d}/initiator ] ; then
if [ ${d##*/} = "ibft" ] && [ "$ibft_mod" != "bnx2i" ] ; then
- echo -n "ip=ibft "
+ echo -n "rd.iscsi.ibft=1 "
fi
echo -n "rd.iscsi.firmware=1"
fi
--
2.6.6