diff options
author | Renato Botelho <renato@netgate.com> | 2015-09-01 10:11:55 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-09-01 10:11:55 -0300 |
commit | 6fc510265d365b8b590984e39b97be34854433bc (patch) | |
tree | 26e989e17429af3a906320f4a7ddf3e0b53689b7 /tools | |
parent | 75d23e2651ca8026d05f5873cef88fddfd30ee03 (diff) | |
download | pfsense-6fc510265d365b8b590984e39b97be34854433bc.zip pfsense-6fc510265d365b8b590984e39b97be34854433bc.tar.gz |
Math here is in bytes, not in blocks, use correct value
Diffstat (limited to 'tools')
-rw-r--r-- | tools/builder_defaults.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/builder_defaults.sh b/tools/builder_defaults.sh index 3721ac8..94eeddb 100644 --- a/tools/builder_defaults.sh +++ b/tools/builder_defaults.sh @@ -210,7 +210,7 @@ export OVA_FIRST_PART_SIZE=${OVA_FIRST_PART_SIZE:-"6g"} # swap partition size (freebsd-swap) export OVA_SWAP_PART_SIZE_IN_GB=${OVA_SWAP_PART_SIZE_IN_GB:-"2"} # Calculate real swap size, removing 128 blocks (65536 bytes) beggining/loader -export OVA_SWAP_PART_SIZE=$((${OVA_SWAP_PART_SIZE_IN_GB}*1024*1024*1024-128)) +export OVA_SWAP_PART_SIZE=$((${OVA_SWAP_PART_SIZE_IN_GB}*1024*1024*1024-65536)) # Temporary place to save files export OVA_TMP=${OVA_TMP:-"${SCRATCHDIR}/ova_tmp"} # end of OVF |