summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbuilder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh b/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh
index c257607d..41e2d387 100755
--- a/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh
+++ b/builder/dnbd3-rootfs/hooks/pre-mount/prepare-root-partition.sh
@@ -24,7 +24,7 @@ local read_only_partition="$(utils_create_partition_via_offset "$nbd_device" \
# TODO implement persistent available indicator.
local persistent="N" # 'P' for persistent storage, 'N' for not persistent
if true; then
- modprobe brd
+ modprobe brd max_part=1 rd_size=524288
local writable_device="/dev/ram0" && \
#mknod --mode 660 "$writable_device" b 1 1 && \
#chown root:disk "$writable_device"