Blame SOURCES/0297-iscsi-iscsiroot.sh-systemd-run-does-not-understand-n.patch

64b87c
From 88329f6b4f4581a50842d1fe82f11cb052e7f100 Mon Sep 17 00:00:00 2001
64b87c
From: Harald Hoyer <harald@redhat.com>
64b87c
Date: Sat, 15 Aug 2015 13:21:29 +0200
64b87c
Subject: [PATCH] iscsi/iscsiroot.sh: systemd-run does not understand
64b87c
 --no-block
64b87c
64b87c
not yet on RHEL-7
64b87c
---
64b87c
 modules.d/95iscsi/iscsiroot.sh | 2 +-
64b87c
 1 file changed, 1 insertion(+), 1 deletion(-)
64b87c
64b87c
diff --git a/modules.d/95iscsi/iscsiroot.sh b/modules.d/95iscsi/iscsiroot.sh
64b87c
index 9452afe..2ac9ed3 100755
64b87c
--- a/modules.d/95iscsi/iscsiroot.sh
64b87c
+++ b/modules.d/95iscsi/iscsiroot.sh
64b87c
@@ -186,7 +186,7 @@ handle_netroot()
64b87c
         is_active=$?
64b87c
         if [ $is_active -ne 0 ]; then
64b87c
             if [ "$status" != "activating" ] && ! systemctl is-failed "$netroot_enc" >/dev/null 2>&1; then
64b87c
-                systemd-run --no-block --service-type=oneshot --remain-after-exit --quiet \
64b87c
+                systemd-run --service-type=oneshot --remain-after-exit --quiet \
64b87c
                             --description="Login iSCSI Target $iscsi_target_name" \
64b87c
                             --unit="$netroot_enc" -- \
64b87c
                             $(command -v iscsistart) \