Blob Blame History Raw
From f74b0a9f38838dddcf6f56daa9f20fc3e86087ca Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Sat, 15 Aug 2015 13:22:07 +0200
Subject: [PATCH] iscsi/module-setup.sh: iscsid need /var/lib/iscsi

---
 modules.d/95iscsi/module-setup.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules.d/95iscsi/module-setup.sh b/modules.d/95iscsi/module-setup.sh
index d12eb7d..4ecba05 100755
--- a/modules.d/95iscsi/module-setup.sh
+++ b/modules.d/95iscsi/module-setup.sh
@@ -114,6 +114,6 @@ install() {
             echo "Before=dracut-initqueue.service"
         ) > "${initdir}/$systemdsystemunitdir/iscsid.service.d/dracut.conf"
     fi
-
+    inst_dir /var/lib/iscsi
     dracut_need_initqueue
 }