summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archiso/initcpio/hooks/archiso_pxe_http4
1 files changed, 4 insertions, 0 deletions
diff --git a/archiso/initcpio/hooks/archiso_pxe_http b/archiso/initcpio/hooks/archiso_pxe_http
index 909ac78..54af7c5 100644
--- a/archiso/initcpio/hooks/archiso_pxe_http
+++ b/archiso/initcpio/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%"