summaryrefslogtreecommitdiff
path: root/archiso/initcpio/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
commit21aa378007a97e0679bc8ca05cf3f025ddca0a71 (patch)
tree38b16df96e5ca8720e7a859c7721a343aa6652c7 /archiso/initcpio/hooks/archiso_pxe_nfs
parent753d2038024541ac2d10f74e6d408d6ed1a23f2a (diff)
downloadarchiso32-21aa378007a97e0679bc8ca05cf3f025ddca0a71.tar.xz
[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 'archiso/initcpio/hooks/archiso_pxe_nfs')
-rw-r--r--archiso/initcpio/hooks/archiso_pxe_nfs5
1 files changed, 4 insertions, 1 deletions
diff --git a/archiso/initcpio/hooks/archiso_pxe_nfs b/archiso/initcpio/hooks/archiso_pxe_nfs
index ef41c01..67874ec 100644
--- a/archiso/initcpio/hooks/archiso_pxe_nfs
+++ b/archiso/initcpio/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}
}