always set copytoram for pxe boot via http
Signed-off-by: Christian Hesse <mail@eworm.de>
This commit is contained in:
parent
e43bb7ae85
commit
43a8571a6c
@ -3,6 +3,10 @@
|
|||||||
run_hook() {
|
run_hook() {
|
||||||
if [[ -n "${ip}" && -n "${archiso_http_srv}" ]]; then
|
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})
|
archiso_http_srv=$(eval echo ${archiso_http_srv})
|
||||||
[[ -z "${archiso_http_spc}" ]] && archiso_http_spc="75%"
|
[[ -z "${archiso_http_spc}" ]] && archiso_http_spc="75%"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user