From 901d0b839a199dbd63c72bb84644315f8a4ca59d Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Thu, 30 Jun 2016 10:09:26 +0200 Subject: always set copytoram for pxe boot via http Signed-off-by: Christian Hesse --- hooks/archiso_pxe_http | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hooks/archiso_pxe_http b/hooks/archiso_pxe_http index 909ac78..54af7c5 100644 --- a/hooks/archiso_pxe_http +++ b/hooks/archiso_pxe_http @@ -3,6 +3,10 @@ run_hook() { if [[ -n "${ip}" && -n "${archiso_http_srv}" ]]; then + # booting with http is always copy-to-ram, so set here to make sure + # addresses are flushed and interface is set down + copytoram="y" + archiso_http_srv=$(eval echo ${archiso_http_srv}) [[ -z "${archiso_http_spc}" ]] && archiso_http_spc="75%" -- cgit v1.2.3-54-g00ecf