always set copytoram for pxe boot via http

Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
Christian Hesse 2016-06-30 10:09:26 +02:00 committed by Gerardo Exequiel Pozzi
parent e43bb7ae85
commit 43a8571a6c

View File

@ -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%"