Blame 0112-iscsi-module-setup.sh-iscsid-need-var-lib-iscsi.patch

Harald Hoyer bb31e7
From f5753e1861c5eaf688d552ca50a6dd0f8e1d0f85 Mon Sep 17 00:00:00 2001
Harald Hoyer bb31e7
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer bb31e7
Date: Sat, 15 Aug 2015 13:22:07 +0200
Harald Hoyer bb31e7
Subject: [PATCH] iscsi/module-setup.sh: iscsid need /var/lib/iscsi
Harald Hoyer bb31e7
Harald Hoyer bb31e7
(cherry picked from commit f74b0a9f38838dddcf6f56daa9f20fc3e86087ca)
Harald Hoyer bb31e7
---
Harald Hoyer bb31e7
 modules.d/95iscsi/module-setup.sh | 2 +-
Harald Hoyer bb31e7
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer bb31e7
Harald Hoyer bb31e7
diff --git a/modules.d/95iscsi/module-setup.sh b/modules.d/95iscsi/module-setup.sh
Harald Hoyer bb31e7
index 3002591..beb80e3 100755
Harald Hoyer bb31e7
--- a/modules.d/95iscsi/module-setup.sh
Harald Hoyer bb31e7
+++ b/modules.d/95iscsi/module-setup.sh
Harald Hoyer bb31e7
@@ -257,6 +257,6 @@ install() {
Harald Hoyer bb31e7
             echo "Before=dracut-initqueue.service"
Harald Hoyer bb31e7
         ) > "${initdir}/$systemdsystemunitdir/iscsid.service.d/dracut.conf"
Harald Hoyer bb31e7
     fi
Harald Hoyer bb31e7
-
Harald Hoyer bb31e7
+    inst_dir /var/lib/iscsi
Harald Hoyer bb31e7
     dracut_need_initqueue
Harald Hoyer bb31e7
 }