gislab-npo / gislab

GIS.lab - total reduction of deployment and maintenance costs for complete free and open source geospatial infrastructure
http://gislab-npo.github.io/gislab/
GNU General Public License v3.0
40 stars 14 forks source link

gislab-unit-iso.sh is hardcoded for 60GB disk size #508

Closed landam closed 7 years ago

landam commented 7 years ago

Currently gislab-unit-iso.sh is hardcoded for 60GB disk size, see https://github.com/gislab-npo/gislab/blob/master/providers/gislab-unit/iso/gislab.seed.template#L47.

It would be useful to add new options support more disk layouts.

landam commented 7 years ago

New options (-d/-a) implemented in xenial branch (bec311a).

./gislab-unit-iso.sh 
USAGE: gislab-unit-iso.sh [OPTIONS]
Create GIS.lab base system installation ISO image from Ubuntu Server ISO.
Script must be executed with superuser privileges.

OPTIONS
    -s country code used for choosing closest repository mirror (e.g. SK)
    -t timezone (e.g. Europe/Bratislava)
    -d disk size in GB (valid options: 60, 120, 240, 480; default: 60)
    -a swap size in GB (default: 4)
...