[Pkg-iscsi-maintainers] [SCM] Debian Open-iSCSI Packaging branch, master, updated. debian/2.0.871.3-2-3-g058e878
Ritesh Raj Sarraf
rrs at researchut.com
Sat Oct 2 07:05:57 UTC 2010
The following commit has been merged in the master branch:
commit 058e87866d2e0e6d945e4ac0ad77a9aa0df2df67
Author: Ritesh Raj Sarraf <rrs at researchut.com>
Date: Sat Oct 2 12:33:05 2010 +0530
enable multiple session in initramfs
Add support to enable multiple session to the iSCSI Target in the
initramfs. Thanks to Norbert Tretkowski for the patch. (Closes: #598773)
diff --git a/debian/README.Debian b/debian/README.Debian
index b8fff55..9c034e2 100644
--- a/debian/README.Debian
+++ b/debian/README.Debian
@@ -90,3 +90,8 @@ You also won't want to restart the device during boot, so set it to manual
mode in /etc/networking/interfaces. Leave BOOT=local set in
/etc/initramfs-tools/initramfs.conf and provide a root=/dev/sd* device as
the iSCSI disk will look like a local disk.
+
+Note: If you need multiple sessions in the initramfs, you can provide multiple IPs
+to the ISCSI_TARGET_IP variable.
+Eg: ISCSI_TARGET_IP="192.168.1.1 192.168.2.1 192.168.3.1"
+This will allow login into all the Target IPs in the initrafs.
diff --git a/debian/changelog b/debian/changelog
index 9c22232..1f81606 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,13 @@
-open-iscsi (2.0.871.3-3) unstable; urgency=low
+open-iscsi (2.0.871.3-3) UNRELEASED; urgency=low
* Install iscsid.conf with 0600 permission as it can contain passwords
(Closes: #472965)
* Provide an example for iSCSI root installation (Closes: #492358)
+ * Add support to enable multiple session to the iSCSI Target in the
+ initramfs. Thanks to Norbert Tretkowski for the patch.
+ (Closes: #598773)
- -- Ritesh Raj Sarraf <rrs at debian.org> Wed, 23 Jun 2010 12:44:08 +0530
+ -- Ritesh Raj Sarraf <rrs at debian.org> Sat, 02 Oct 2010 12:29:29 +0530
open-iscsi (2.0.871.3-2) unstable; urgency=low
diff --git a/debian/extra/initramfs.local-top b/debian/extra/initramfs.local-top
index 0bafe22..890ff8f 100644
--- a/debian/extra/initramfs.local-top
+++ b/debian/extra/initramfs.local-top
@@ -42,13 +42,15 @@ do_iscsi_login ()
ISCSI_TARGET_GROUP=1
fi
+ for i in $ISCSI_TARGET_IP; do
iscsistart -i $ISCSI_INITIATOR -t $ISCSI_TARGET_NAME \
- -g $ISCSI_TARGET_GROUP -a $ISCSI_TARGET_IP \
+ -g $ISCSI_TARGET_GROUP -a $i \
-p $ISCSI_TARGET_PORT \
${ISCSI_USERNAME:+-u "$ISCSI_USERNAME"} \
${ISCSI_PASSWORD:+-w "$ISCSI_PASSWORD"} \
${ISCSI_IN_USERNAME:+-U "$ISCSI_IN_USERNAME"}\
${ISCSI_IN_PASSWORD:+-W "$ISCSI_IN_PASSWORD"}
+ done
}
parse_iscsi_ops ()
--
Debian Open-iSCSI Packaging
More information about the Pkg-iscsi-maintainers
mailing list