| 
				
				 
					Using configuration settings in iSCSI boot
				 
			 | 
		
| 
				 
					2013-01-14, 20:32 
				 
				
Post: #1 
			 | 
		|||
				
  | 
		|||
| 
				Using configuration settings in iSCSI boot 
				 
					I am trying to write a script that uses the "read" or "dhcp" commands to set configuration settings (such as initiator-iqn) and then uses those settings to iSCSI boot.  However, all of the examples of sanboot that I can find have the IP address and iqn hardcoded (e.g. sanboot iscsi:10.0.4.1:::1:iqn.2010-04.org.ipxe.dolphin:storage). 
				
				
				
			Is there a way to either boot using the configuration that has already been set or to feed configuration settings into sanboot?  | 
		|||
| 
				 
					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 | 
		|||
| 
				 
					2013-01-30, 13:59 
				 
				
Post: #3 
			 | 
		|||
				
  | 
		|||
				RE: Using configuration settings in iSCSI boot 
				(2013-01-15 14:06)robinsmidsrod Wrote: Have you seen how I combine the base-iscsi variable at the start of menu.ipxe in https://gist.github.com/2234639 ? Thank you for the help! I did not realize that variables/settings needed to be surrounded by ${ }.  | 
		|||
| 
				
	 
					« Next Oldest | Next Newest »
				 
			 | 
		
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help




