index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-10-16 19:10:17 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-10-16 19:10:17 -0300 |
commit | fc03703b9b6b9e4ae0a3df171b7a25ba8c0941fe (patch) | |
tree | db7906162d0aa030463d497d4db6fd42086f27ae | |
parent | 1d509d9da4ce65a2338146336eaa2115d8c76f98 (diff) |
-rw-r--r-- | hooks/archiso_pxe_nbd | 5 | ||||
-rw-r--r-- | hooks/archiso_pxe_nfs | 5 |
diff --git a/hooks/archiso_pxe_nbd b/hooks/archiso_pxe_nbd index a9f84d5..d9bc6d8 100644 --- a/hooks/archiso_pxe_nbd +++ b/hooks/archiso_pxe_nbd @@ -27,7 +27,10 @@ archiso_pxe_nbd_mount_handler () { msg ":: Setup NBD from ${archiso_nbd_srv} at /dev/nbd0" nbd-client ${archiso_nbd_srv} -N ${archiso_nbd_name} /dev/nbd0 - copytoram="y" + if [[ "${copytoram}" != "n" ]]; then + copytoram="y" + fi + archisodevice=/dev/nbd0 archiso_mount_handler ${newroot} 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} } |