You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
1012 B
25 lines
1012 B
From b66bfd5b98d3e8411df2ebfa1390d81dc5f83c09 Mon Sep 17 00:00:00 2001 |
|
From: Harald Hoyer <harald@redhat.com> |
|
Date: Wed, 11 Jun 2014 14:55:11 +0200 |
|
Subject: [PATCH] iscsi: correctly install the timeout iscsiroot dummy call |
|
|
|
initqueue parses $1 as the executable command |
|
|
|
(cherry picked from commit 486a8f33e2edaf249e3a09c98a910094e201cf9e) |
|
--- |
|
modules.d/95iscsi/parse-iscsiroot.sh | 2 +- |
|
1 file changed, 1 insertion(+), 1 deletion(-) |
|
|
|
diff --git a/modules.d/95iscsi/parse-iscsiroot.sh b/modules.d/95iscsi/parse-iscsiroot.sh |
|
index 4be9d561..52a4805a 100755 |
|
--- a/modules.d/95iscsi/parse-iscsiroot.sh |
|
+++ b/modules.d/95iscsi/parse-iscsiroot.sh |
|
@@ -64,7 +64,7 @@ if [ -n "$iscsi_firmware" ] ; then |
|
netroot=${netroot:-iscsi:} |
|
modprobe -q iscsi_boot_sysfs 2>/dev/null |
|
modprobe -q iscsi_ibft |
|
- initqueue --onetime --timeout "/sbin/iscsiroot dummy '$netroot' '$NEWROOT'" |
|
+ initqueue --onetime --timeout /sbin/iscsiroot dummy "'$netroot'" "'$NEWROOT'" |
|
fi |
|
|
|
# If it's not iscsi we don't continue
|
|
|