From: garciadeblas Date: Wed, 30 May 2018 16:36:29 +0000 (+0200) Subject: Prompt message to let the user know what will be installed X-Git-Tag: v4.0.1^0 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=0ebde16bc0c979a6a069fd5c089ffca700e1dc41;p=osm%2Fdevops.git Prompt message to let the user know what will be installed Change-Id: If9e0bc0a976c7a7ad035c5b0211efffd94e46b16 Signed-off-by: garciadeblas --- diff --git a/installers/full_install_osm.sh b/installers/full_install_osm.sh index 65bb8b7f..2286aa4b 100755 --- a/installers/full_install_osm.sh +++ b/installers/full_install_osm.sh @@ -719,6 +719,7 @@ function deploy_perfmon() { function install_lightweight() { [ "$USER" == "root" ] && FATAL "You are running the installer as root. The installer is prepared to be executed as a normal user with sudo privileges." + [ -z "$ASSUME_YES" ] && ! ask_user "The installation will configure LXD, install juju, install docker CE and init a docker swarm, as pre-requirements. Do you want to proceed (Y/n)? " y && echo "Cancelled!" && exit 1 echo "Installing lightweight build of OSM" LWTEMPDIR="$(mktemp -d -q --tmpdir "installosmlight.XXXXXX")" trap 'rm -rf "${LWTEMPDIR}"' EXIT