Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/hooks/archiso_pxe_curl
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-12-02 00:44:02 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2011-12-02 14:12:16 -0300
commit5d7d6cfef80349496421cffc928cc4454f79d2c6 (patch)
treeb151e48a63b9bee2bc091f8f076dbd2493fb8781 /archiso/hooks/archiso_pxe_curl
parent4cbe8f06f3c8d031c2395708c754d1b118715178 (diff)
[archiso] Do not use PXE NBD as default.
* Now we have more than one PXE boot methods. * archiso_ndb_srv= accepts special ${pxeserver} parameter like in others PXE hooks. * This allows to setup network from initramfs without forcing using a special PXE hook. * Update README Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'archiso/hooks/archiso_pxe_curl')
-rw-r--r--archiso/hooks/archiso_pxe_curl2
1 files changed, 2 insertions, 0 deletions
diff --git a/archiso/hooks/archiso_pxe_curl b/archiso/hooks/archiso_pxe_curl
index 80315bc..27deee9 100644
--- a/archiso/hooks/archiso_pxe_curl
+++ b/archiso/hooks/archiso_pxe_curl
@@ -2,8 +2,10 @@
run_hook() {
if [[ -n "${ip}" && -n "${archiso_curl_url}" ]]; then
+
archiso_curl_url=$(eval echo ${archiso_curl_url})
[[ -z "${curlspace_size}" ]] && curlspace_size="75%"
+
mount_handler="archiso_pxe_curl_mount_handler"
fi
}