From: garciadeblas Date: Wed, 9 May 2018 13:42:19 +0000 (+0200) Subject: install_osm: defaults to lightweight X-Git-Tag: v4.0.0~24 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=661681a62f3c96e09013530d3ef53ba8051a11d3;p=osm%2Fdevops.git install_osm: defaults to lightweight Change-Id: Ia1a89ce1e998eaa5a8c6631ac7b7380ce57b7b79 Signed-off-by: garciadeblas --- diff --git a/installers/install_osm.sh b/installers/install_osm.sh index d5de3f51..2cd7b59a 100755 --- a/installers/install_osm.sh +++ b/installers/install_osm.sh @@ -31,7 +31,8 @@ function usage(){ echo -e " --lxdimages: download lxd images from OSM repository instead of creating them from scratch" echo -e " -l : use specified repository url for lxd images" echo -e " -p : use specified repository path for lxd images" - echo -e " --lightweight: install lightweight build of OSM" + echo -e " --lightweight: install lightweight build of OSM (default installation)" + echo -e " --soui: install classic build of OSM (based on LXD containers, with SO and UI)" echo -e " --vimemu: additionally fetch, build, and deploy the VIM emulator as a docker container" echo -e " --develop: (deprecated, use '-b master') install OSM from source code using the master branch" # echo -e " --reconfigure: reconfigure the modules (DO NOT change NAT rules)" @@ -689,7 +690,7 @@ INSTALL_VIMEMU="" INSTALL_FROM_LXDIMAGES="" LXD_REPOSITORY_BASE="https://osm-download.etsi.org/repository/osm/lxd" LXD_REPOSITORY_PATH="" -INSTALL_LIGHTWEIGHT="" +INSTALL_LIGHTWEIGHT="y" NOCONFIGURE="" RELEASE_DAILY="" SESSION_ID=`date +%s` @@ -736,6 +737,7 @@ while getopts ":hy-:b:r:k:u:R:l:p:D:" o; do [ "${OPTARG}" == "lxdinstall" ] && INSTALL_LXD="y" && continue [ "${OPTARG}" == "lxdimages" ] && INSTALL_FROM_LXDIMAGES="y" && continue [ "${OPTARG}" == "lightweight" ] && INSTALL_LIGHTWEIGHT="y" && continue + [ "${OPTARG}" == "soui" ] && INSTALL_LIGHTWEIGHT="" && && continue [ "${OPTARG}" == "vimemu" ] && INSTALL_VIMEMU="y" && continue [ "${OPTARG}" == "noconfigure" ] && NOCONFIGURE="y" && continue [ "${OPTARG}" == "showopts" ] && SHOWOPTS="y" && continue