[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#853990: Add prompt for iSCSI initiator name in installer

Philip Hands <phil@hands.com> writes:

> Kevin Otte <nivex@nivex.net> writes:
>> Package: partman-iscsi
>> Version: 44
>> The installer should prompt for the desired iSCSI initiator name before
>> starting the initiator. Many iSCSI targets require the specification of
>> the IQN as part of their ACLs. It is useful for the administrator to be
>> able to set this.
>> I have included a patch based on Ubuntu's modifications to the package
>> that appears to achieve this.
> To be useful one also needs to change choose_partition/iscsi/do_option to call
> iscsi_start() rather than iscsi-start, otherwise you're defining a
> function that's never called.  Also, one needs to define
> partman-iscsi/initiatorname in the template.  See:
>   https://patches.ubuntu.com/p/partman-iscsi/partman-iscsi_40ubuntu3.patch
> (I was rather hoping I could pull this out of launchpad with
> git-remote-bzr but I seem not to have got the incatations right -- I'll
> give that another try to see if I can cherry-pick the relevant commits
> nicely...)

Ah, I see that Mathieu had already put this in our git:


which I've just rebased and then tweaked to use a here document:


Cheers, Phil.
|)|  Philip Hands  [+44 (0)20 8530 9560]  HANDS.COM Ltd.
|-|  http://www.hands.com/    http://ftp.uk.debian.org/
|(|  Hugo-Klemm-Strasse 34,   21075 Hamburg,    GERMANY

Attachment: signature.asc
Description: PGP signature

Reply to: