2018-01-26, 00:43
Im trying to double chain ipxe as following: (i've compiled ipxe.efi with DOWNLOAD_PROTO_HTTPS enable)
First Chain:
#!ipxe
echo info chain http://IPaddr:PORT/ipxe/${net0/mac:hex}
chain http://IPaddr:PORT/ipxe/${net0/mac:hex}
Second Chain:
#!ipxe
echo +--------- ipxe ---------------------------------------------
echo | OS Install
echo | mac.................: ${mac}
echo | uuid................: ${uuid}
echo | serial..............: ${serial}
echo | ip..................: ${ip}
echo | manufacturer........: ${manufacturer}
echo | product.............: ${product}
echo +------------------------------------------------------------
imgfree
set next-server IPaddr2
set filename https://${next-server}:PORT/somedir/tramp
chain https://${next-server}:PORT/somedir/tramp
Inside this file: https://${next-server}:PORT/somedir/tramp
#!gpxe
set max-retries 6
set retry-delay 20
post /some-dir/host-register?bootmac=${mac}
Can I do that ?
If not is there an alternative way to do this ?
ERROR from ipxe:
https://IPaddr2:PORT/some-dir/tramp... Error 0x3e11618e (http://ipxe.org/3e11618e)
Could not boot: Error 0x3e11618e (http://ipxe.org/3e11618e)
First Chain:
#!ipxe
echo info chain http://IPaddr:PORT/ipxe/${net0/mac:hex}
chain http://IPaddr:PORT/ipxe/${net0/mac:hex}
Second Chain:
#!ipxe
echo +--------- ipxe ---------------------------------------------
echo | OS Install
echo | mac.................: ${mac}
echo | uuid................: ${uuid}
echo | serial..............: ${serial}
echo | ip..................: ${ip}
echo | manufacturer........: ${manufacturer}
echo | product.............: ${product}
echo +------------------------------------------------------------
imgfree
set next-server IPaddr2
set filename https://${next-server}:PORT/somedir/tramp
chain https://${next-server}:PORT/somedir/tramp
Inside this file: https://${next-server}:PORT/somedir/tramp
#!gpxe
set max-retries 6
set retry-delay 20
post /some-dir/host-register?bootmac=${mac}
Can I do that ?
If not is there an alternative way to do this ?
ERROR from ipxe:
https://IPaddr2:PORT/some-dir/tramp... Error 0x3e11618e (http://ipxe.org/3e11618e)
Could not boot: Error 0x3e11618e (http://ipxe.org/3e11618e)