18971c
From 994a6cdd883482ccf24fa9587c28f0e6a8fe031d Mon Sep 17 00:00:00 2001
18971c
From: Lukas Nykryn <lnykryn@redhat.com>
18971c
Date: Thu, 15 Jun 2017 14:01:13 +0200
18971c
Subject: [PATCH] 95iscsi: run iscsistart with DefaultDependencies=no
18971c
18971c
In upstream part of 7e51a94f5bc6188511593eda9768aae41467ef04
18971c
18971c
Resolves: #1461234
18971c
---
18971c
 modules.d/95iscsi/iscsiroot.sh | 1 +
18971c
 1 file changed, 1 insertion(+)
18971c
18971c
diff --git a/modules.d/95iscsi/iscsiroot.sh b/modules.d/95iscsi/iscsiroot.sh
18971c
index ce8f5479..4cf3d355 100755
18971c
--- a/modules.d/95iscsi/iscsiroot.sh
18971c
+++ b/modules.d/95iscsi/iscsiroot.sh
18971c
@@ -182,6 +182,7 @@ handle_netroot()
18971c
             if [ "$status" != "activating" ] && ! systemctl is-failed "$netroot_enc" >/dev/null 2>&1; then
18971c
                 systemd-run --service-type=oneshot --remain-after-exit --quiet \
18971c
                             --description="Login iSCSI Target $iscsi_target_name" \
18971c
+                            -p 'DefaultDependencies=no' \
18971c
                             --unit="$netroot_enc" -- \
18971c
                             $(command -v iscsistart) \
18971c
                             -i "$iscsi_initiator" -t "$iscsi_target_name"        \