Philip Hands <p...@hands.com> writes: > Kevin Otte <ni...@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: https://anonscm.debian.org/cgit/d-i/partman-iscsi.git/log/?h=people/cyphermox/initiatorname which I've just rebased and then tweaked to use a here document: https://anonscm.debian.org/cgit/d-i/partman-iscsi.git/log/?h=pu/iscsi-initiator-prompt 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
signature.asc
Description: PGP signature