Brick: fix bug in tgt conf for volume
872b7ca0fc
was intended to explicitly
specify the driver being used by tgt for each target. The issue is that
'lld' is not a valid directive therefore the default is being used. The
default used by tgt is iscsi.
This commit replaces 'lld' with the correct directive of 'driver'.
Change-Id: I6153ee8b24039aedc4ab471f7d00517411791dac
Closes-bug: #1396265
This commit is contained in:
parent
2f3384c0a5
commit
a835e70cbf
|
@ -96,14 +96,14 @@ class TgtAdm(TargetAdmin):
|
|||
VOLUME_CONF = """
|
||||
<target %s>
|
||||
backing-store %s
|
||||
lld iscsi
|
||||
driver iscsi
|
||||
write-cache %s
|
||||
</target>
|
||||
"""
|
||||
VOLUME_CONF_WITH_CHAP_AUTH = """
|
||||
<target %s>
|
||||
backing-store %s
|
||||
lld iscsi
|
||||
driver iscsi
|
||||
%s
|
||||
write-cache %s
|
||||
</target>
|
||||
|
|
Loading…
Reference in New Issue