Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using configuration settings in iSCSI boot
2013-01-15, 14:06 (This post was last modified: 2013-01-15 14:06 by robinsmidsrod.)
Post: #2
RE: Using configuration settings in iSCSI boot
Have you seen how I combine the base-iscsi variable at the start of menu.ipxe in https://gist.github.com/2234639 ?

You can easily use the "read" command to ask for that value instead of hard-coding it in the script. Something like this might be what you need (untested):

Code:
#!ipxe
echo Type in the IPv4 address for you iSCSI server
read iscsi-server

echo Type in the name part of your iSCSI target IQN
read iscsi-target

set iscsi-target-iqn iqn.2011-02.lan.smidsrod:${iscsi-target}
set iscsi-url iscsi:${iscsi-server}::::${iscsi-target-iqn}
sanboot ${iscsi-url}
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Using configuration settings in iSCSI boot - robinsmidsrod - 2013-01-15 14:06



User(s) browsing this thread: 1 Guest(s)