mirror of
https://github.com/democratic-csi/democratic-csi.git
synced 2026-10-05 01:48:25 +02:00
add force to target creation to allow multiple non-unique usernames
This commit is contained in:
@@ -309,7 +309,7 @@ create /backstores/block/${assetName}
|
||||
|
||||
let extraTerms = ['group', `${pcs_group}`, '--wait']; // The wait is important to avoid race conditions
|
||||
let createTargetTerms = [
|
||||
'resource', 'create', '--future', `target-${assetName}`, 'ocf:heartbeat:iSCSITarget',
|
||||
'resource', 'create', '--future', '--force', `target-${assetName}`, 'ocf:heartbeat:iSCSITarget',
|
||||
'implementation="lio-t"', 'portals=":::3260"', `iqn="${basename}:${assetName}"`
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user