Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks/archiso_pxe_http
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2016-06-30 10:09:26 +0200
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2016-07-05 22:27:27 -0300
commit901d0b839a199dbd63c72bb84644315f8a4ca59d (patch)
tree2432c0f67e7e1da952f2ae7da26e13986957915f /hooks/archiso_pxe_http
parent35012a7f2c5ac9d5b2fcf9448d62468011032bbe (diff)
always set copytoram for pxe boot via http
Signed-off-by: Christian Hesse <mail@eworm.de>
Diffstat (limited to 'hooks/archiso_pxe_http')
-rw-r--r--hooks/archiso_pxe_http4
1 files changed, 4 insertions, 0 deletions
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%"