From: davidplunkett Date: Thu, 7 Feb 2019 07:16:12 +0000 (+0000) Subject: show nic details on console if httpboot fails X-Git-Tag: 1.0.0~30 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=b0c1e7ee34c681a983f2367232e01b40310546f9;p=redfish.git show nic details on console if httpboot fails Change-Id: Ib4aeed4971cf400294d2e2376ecd6c4507325637 Signed-off-by: davidplunkett --- diff --git a/boot.ipxe.template b/boot.ipxe.template index 96de068..b671fdb 100644 --- a/boot.ipxe.template +++ b/boot.ipxe.template @@ -18,7 +18,7 @@ set vlan @@IPXE_VLAN@@ set nic @@IPXE_INTF@@ echo Starting network on vlan [${vlan}] using nic [${nic}]... vcreate --tag ${vlan} ${nic} || -ifconf --configurator dhcp ${nic}-${vlan} || +ifconf --configurator dhcp ${nic}-${vlan} || ifstat isset ${filename} && chain ${filename} || echo Boot file [${filename}] does not exist or is invalid... prompt --key 0x02 --timeout 0 Press Ctrl-B for the iPXE command line... && shell ||