From 2be2c3839921cbb71ba459191a889e3f9d1db37a Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Fri, 5 Oct 2018 14:44:40 +0100 Subject: [PATCH] scripts: collect-test-info.sh: Collect PXE scripts Collect PXE boot scripts which can help us identify VM boot problems. Change-Id: I83866b7650a38a885c94c0b7933443f30bef02c4 --- scripts/collect-test-info.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/collect-test-info.sh b/scripts/collect-test-info.sh index a57bd7c67..b04e52f4b 100755 --- a/scripts/collect-test-info.sh +++ b/scripts/collect-test-info.sh @@ -43,6 +43,11 @@ else sudo cp /var/log/upstart/ironic-inspector.log ${LOG_LOCATION}/ fi +# Copy PXE information +mkdir -p ${LOG_LOCATION}/pxe/ +cp /httpboot/ipxe.pxe ${LOG_LOCATION}/pxe/ +cp -aL /httpboot/pxelinux.cfg/ ${LOG_LOCATION}/pxe/ + if [ -d "/var/log/ironic" ]; then cp -a "/var/log/ironic" ${LOG_LOCATION}/ipa-logs fi