summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorMichael Stummvoll <michael@stummi.org>2013-04-02 13:59:38 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 14:50:07 +0200
commit428da01aea94c7d4667c0be1b7498f8edd6772e0 (patch)
tree0833ef49d0f7a7a187de24b82231586b297864c8 /functions
parent765ae792d45107185c2a08603cfbcaf96c588954 (diff)
downloadvyos-live-build-428da01aea94c7d4667c0be1b7498f8edd6772e0.tar.gz
vyos-live-build-428da01aea94c7d4667c0be1b7498f8edd6772e0.zip
Using LB_HDD_SIZE to determine the size of the image.
If LB_HDD_SIZE is "auto" the size will be determined automatically as before else it will be the given size in MB. Also setting the default for this to "auto"
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index c64917abb..ff268ba0b 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -890,7 +890,7 @@ Set_defaults ()
esac
# Setting hdd size
- LB_HDD_SIZE="${LB_HDD_SIZE:-10000}"
+ LB_HDD_SIZE="${LB_HDD_SIZE:-auto}"
# Setting iso volume
case "${LB_MODE}" in