From 21aa378007a97e0679bc8ca05cf3f025ddca0a71 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Tue, 16 Oct 2012 19:10:17 -0300 Subject: [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 --- archiso/initcpio/hooks/archiso_pxe_nfs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'archiso/initcpio/hooks/archiso_pxe_nfs') 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} } -- cgit v1.2.3-70-g09d2