diff options
Diffstat (limited to 'tools/builder_defaults.sh')
-rw-r--r-- | tools/builder_defaults.sh | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/tools/builder_defaults.sh b/tools/builder_defaults.sh index 2d3d26f..536c220 100644 --- a/tools/builder_defaults.sh +++ b/tools/builder_defaults.sh @@ -198,15 +198,12 @@ export OVFTEMPLATE=${OVFTEMPLATE:-"${BUILDER_TOOLS}/templates/ovf/${PRODUCT_NAME export OVFUFS=${OVFUFS:-"${PRODUCT_NAME}-disk1.ufs"} # On disk name of VMDK file included in OVA export OVFVMDK=${OVFVMDK:-"${PRODUCT_NAME}-disk1.vmdk"} -# 10 gigabyte on disk VMDK size -export OVADISKSIZE=${OVADISKSIZE:-"10737418240"} -# first partition size (freebsd-ufs) GPT -export OVA_FIRST_PART_SIZE=${OVA_FIRST_PART_SIZE:-"$((8*1024*1024*1024))"} -# swap partition size (freebsd-swap) GPT - -# remaining space of 10G-8G - 128 block beginning/loader -export OVA_SWAP_PART_SIZE=${OVA_SWAP_PART_SIZE:-"4193725"} -# 10737254400 = 10240MB = virtual box vmdk file size XXX grab this value from vbox creation -export OVA_DISKSECTIONALLOCATIONUNITS=${OVA_DISKSECTIONALLOCATIONUNITS:-"10737254400"} +# 8 gigabyte on disk VMDK size +export VMDK_DISK_CAPACITY_IN_GB=${VMDK_DISK_CAPACITY_IN_GB:-"8"} +# first partition size (freebsd-ufs) +export OVA_FIRST_PART_SIZE=${OVA_FIRST_PART_SIZE:-"6g"} +# swap partition size (freebsd-swap) +export OVA_SWAP_PART_SIZE=${OVA_SWAP_PART_SIZE:-"2G"} # Temporary place to save files export OVA_TMP=${OVA_TMP:-"${SCRATCHDIR}/ova_tmp"} # end of OVF |