Blame SOURCES/0180-iscsi-correctly-install-the-timeout-iscsiroot-dummy-.patch

a56a5e
From b66bfd5b98d3e8411df2ebfa1390d81dc5f83c09 Mon Sep 17 00:00:00 2001
a56a5e
From: Harald Hoyer <harald@redhat.com>
a56a5e
Date: Wed, 11 Jun 2014 14:55:11 +0200
a56a5e
Subject: [PATCH] iscsi: correctly install the timeout iscsiroot dummy call
a56a5e
a56a5e
initqueue parses $1 as the executable command
a56a5e
a56a5e
(cherry picked from commit 486a8f33e2edaf249e3a09c98a910094e201cf9e)
a56a5e
---
a56a5e
 modules.d/95iscsi/parse-iscsiroot.sh | 2 +-
a56a5e
 1 file changed, 1 insertion(+), 1 deletion(-)
a56a5e
a56a5e
diff --git a/modules.d/95iscsi/parse-iscsiroot.sh b/modules.d/95iscsi/parse-iscsiroot.sh
a56a5e
index 4be9d56..52a4805 100755
a56a5e
--- a/modules.d/95iscsi/parse-iscsiroot.sh
a56a5e
+++ b/modules.d/95iscsi/parse-iscsiroot.sh
a56a5e
@@ -64,7 +64,7 @@ if [ -n "$iscsi_firmware" ] ; then
a56a5e
     netroot=${netroot:-iscsi:}
a56a5e
     modprobe -q iscsi_boot_sysfs 2>/dev/null
a56a5e
     modprobe -q iscsi_ibft
a56a5e
-    initqueue --onetime --timeout "/sbin/iscsiroot dummy '$netroot' '$NEWROOT'"
a56a5e
+    initqueue --onetime --timeout /sbin/iscsiroot dummy "'$netroot'" "'$NEWROOT'"
a56a5e
 fi
a56a5e
 
a56a5e
 # If it's not iscsi we don't continue