Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/hooks/archiso_pxe_nfs
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-10-16 19:10:17 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-10-16 19:10:17 -0300
commitfc03703b9b6b9e4ae0a3df171b7a25ba8c0941fe (patch)
treedb7906162d0aa030463d497d4db6fd42086f27ae /hooks/archiso_pxe_nfs
parent1d509d9da4ce65a2338146336eaa2115d8c76f98 (diff)
[archiso] Allow set copytoram=n for NBD/NFS
On low memory systems installing via PXE is not possible. Do not force copytoram=y for NFS/NDB. Broken/hang things: * On shutdown. * On run-time if some network settings changed. Implements FS#32006. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'hooks/archiso_pxe_nfs')
-rw-r--r--hooks/archiso_pxe_nfs5
1 files changed, 4 insertions, 1 deletions
diff --git a/hooks/archiso_pxe_nfs b/hooks/archiso_pxe_nfs
index ef41c01..67874ec 100644
--- a/hooks/archiso_pxe_nfs
+++ b/hooks/archiso_pxe_nfs
@@ -22,6 +22,9 @@ archiso_nfs_mount_handler() {
launch_interactive_shell
fi
- copytoram="y"
+ if [[ "${copytoram}" != "n" ]]; then
+ copytoram="y"
+ fi
+
archiso_mount_handler ${newroot}
}