Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archiso/initcpio/hooks/archiso_pxe_nbd
diff options
context:
space:
mode:
Diffstat (limited to 'archiso/initcpio/hooks/archiso_pxe_nbd')
-rw-r--r--archiso/initcpio/hooks/archiso_pxe_nbd5
1 files changed, 4 insertions, 1 deletions
diff --git a/archiso/initcpio/hooks/archiso_pxe_nbd b/archiso/initcpio/hooks/archiso_pxe_nbd
index a9f84d5..d9bc6d8 100644
--- a/archiso/initcpio/hooks/archiso_pxe_nbd
+++ b/archiso/initcpio/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}