Unverified Commit 61faa116 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

Make preallocation configurable

parent 897fb4f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ if [ ! -f "${DATA}" ]; then

    if ! fallocate -l "${DATA_SIZE}" "${DATA}"; then
      rm -f "${DATA}"
      echo "ERROR: Could not allocate file for virtual disk." && exit 87
      echo "ERROR: Could not allocate a file for the virtual disk." && exit 87
    fi

  fi