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

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