On Wed, 5 May 2010 21:34:11 -0600 Dax Kelson <dkelson at gurulabs.com> wrote: > Currently tgt-admin always deletes and add accounts. The effect > of the current behavior is that multiple targets can't use the > same incoming or outgoing account. This patch allows multiple > targets to use the same incoming and/or outgoing accounts and > supports a targets.conf with the following configuration: > > <target iqn.1999-07.com.gurulabs:station1> > backing-store /srv/iscsi-luns/station1 > incominguser station1 letmein > outgoinguser server1 itsreallyme > </target> > <target iqn.1999-07.com.gurulabs:station2> > backing-store /srv/iscsi-luns/station2 > incominguser station2 letmein > outgoinguser server1 itsreallyme > </target> > > Signed-off-by: Dax Kelson <dkelson at gurulabs.com> > --- > scripts/tgt-admin | 34 ++++++++++++++++++++++++++++++---- > 1 files changed, 30 insertions(+), 4 deletions(-) Applied, thanks! -- To unsubscribe from this list: send the line "unsubscribe stgt" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html |