From b0c1e7ee34c681a983f2367232e01b40310546f9 Mon Sep 17 00:00:00 2001 From: davidplunkett Date: Thu, 7 Feb 2019 07:16:12 +0000 Subject: [PATCH] show nic details on console if httpboot fails Change-Id: Ib4aeed4971cf400294d2e2376ecd6c4507325637 Signed-off-by: davidplunkett --- boot.ipxe.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 || -- 2.16.6