[gPXE] [Etherboot-discuss] iSCSI Login/Password on root-path
Andrew Bobulsky
rulerof at gmail.com
Wed Sep 29 16:33:24 EDT 2010
Hello Thiago,
I believe that you can set iSCSI username and password info via DHCP using encapsulated options.
A quick reference to many of them and how they’re defined in dhcpd is located here: http://etherboot.org/wiki/dhcpd
I think the options you want to set are the “username” and “password” strings, perhaps like:
host teste {
hardware ethernet 00:0c:29:98:12:ca;
option subnet-mask 255.255.255.0;
fixed-address 192.168.2.33;
option root-path "iscsi:192.168.2.2::::iqn.2009-6.com.dkxja:storage01.disk1";
option username “myusername”;
option password “mypassword”;
}
I could be wrong about that, as I’ve used dhcpd very little, and iscsi credentials even less, but from what I recall that should be doable, even if my information is a little off!
Best of luck to you.
Cheers,
Andrew Bobulsky
From: Thiago Vinhas [mailto:thiago at vinhas.org]
Sent: Wednesday, September 29, 2010 4:10 PM
To: etherboot-discuss at lists.sourceforge.net
Subject: [Etherboot-discuss] iSCSI Login/Password on root-path
Hi there,
I could successfully boot with gPXE on my iscsi storage perfectly. But when I set the username/password option on iscsi, I get an "access denied" error on boot.
Is there any way to add the user/pass information on the dhcp server? Here is how my conf is:
host teste {
hardware ethernet 00:0c:29:98:12:ca;
option subnet-mask 255.255.255.0;
fixed-address 192.168.2.33;
option root-path "iscsi:192.168.2.2::::iqn.2009-6.com.dkxja:storage01.disk1";
}
Thanks for your help!
Thiago Vinhas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://etherboot.org/pipermail/gpxe/attachments/20100929/977d1f3e/attachment.html
More information about the gPXE
mailing list