2011-12-17, 09:57
Just thought I'd share:
Embedded code in iPXE:
In WebServer Directory:
%WEB_ROOT_DIRECTORY%/ipxe/boot/%UUID%.ipxe
This is working very well whilst I get my PHP environment working...
Embedded code in iPXE:
Code:
#!ipxe
#Generic Boot Script
:retry
dhcp
chain http://%WEBSERVER_DNS_NAME%/ipxe/boot/${uuid}.ipxe || goto retry
In WebServer Directory:
%WEB_ROOT_DIRECTORY%/ipxe/boot/%UUID%.ipxe
Code:
#!ipxe
goto startme
:retry
sleep 5
:startme
set keep-san 1
set initiator-iqn %IQN_QUALIFIER:%CLIENT_DNS_NAME%
sanboot --drive 0x80 iscsi:%TARGET_DNS_NAME%::::%IQN_QUALIFIER%:%TARGET_NAME% ||
sanboot --drive 0x81 --no-describe http://%TARGET_DNS_NAME%/scientific_linux/6.1/x86_64/iso/SL-61-x86_64-2011-07-27-boot.iso || goto retry
This is working very well whilst I get my PHP environment working...