18971c
From 98b104e88799ad461d9322faaee4c831d35c96c4 Mon Sep 17 00:00:00 2001
18971c
From: Harald Hoyer <harald@redhat.com>
18971c
Date: Wed, 11 Jun 2014 14:58:55 +0200
18971c
Subject: [PATCH] iscsi: correctly install the settled iscsiroot dummy call
18971c
18971c
initqueue parses $1 as the executable command
18971c
18971c
(cherry picked from commit bb8c16d12178373f17553294603ff5187e318b51)
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 52a4805a..b48be387 100755
18971c
--- a/modules.d/95iscsi/parse-iscsiroot.sh
18971c
+++ b/modules.d/95iscsi/parse-iscsiroot.sh
18971c
@@ -88,7 +88,7 @@ fi
18971c
 
18971c
 if [ -n "$netroot" ] && [ "$root" != "/dev/root" ] && [ "$root" != "dhcp" ]; then
18971c
     if ! getargbool 1 rd.neednet >/dev/null || ! getarg "ip="; then
18971c
-        initqueue --onetime --settled "/sbin/iscsiroot dummy '$netroot' '$NEWROOT'"
18971c
+        initqueue --onetime --settled /sbin/iscsiroot dummy "'$netroot'" "'$NEWROOT'"
18971c
     fi
18971c
 fi
18971c