28 lines
915 B
Diff
28 lines
915 B
Diff
|
commit 25f651279f95a29682bee72b56a6730a91d17f27
|
||
|
Author: Andy Grover <agrover@redhat.com>
|
||
|
Date: Wed Aug 17 16:08:15 2011 -0700
|
||
|
|
||
|
change spec_dir to /var/lib/target
|
||
|
|
||
|
Signed-off-by: Andy Grover <agrover@redhat.com>
|
||
|
|
||
|
diff --git a/rtslib/node.py b/rtslib/node.py
|
||
|
index 413781f..6ce4dee 100644
|
||
|
--- a/rtslib/node.py
|
||
|
+++ b/rtslib/node.py
|
||
|
@@ -25,12 +25,12 @@ from utils import fread, fwrite, RTSLibError, RTSLibNotInCFS
|
||
|
class CFSNode(object):
|
||
|
|
||
|
# Where do we store the fabric modules spec files ?
|
||
|
- spec_dir = "/var/target/fabric"
|
||
|
+ spec_dir = "/var/lib/target/fabric"
|
||
|
# Where is the configfs base LIO directory ?
|
||
|
configfs_dir = '/sys/kernel/config/target'
|
||
|
# TODO: Make the ALUA path generic, not iscsi-centric
|
||
|
# What is the ALUA directory ?
|
||
|
- alua_metadata_dir = "/var/target/alua/iSCSI"
|
||
|
+ alua_metadata_dir = "/var/lib/target/alua/iSCSI"
|
||
|
|
||
|
# CFSNode private stuff
|
||
|
|