Skip to content

Commit

Permalink
Closed-Bug: #1503963, server manager lite options for installing webu…
Browse files Browse the repository at this point in the history
…i and monitoring functions

Change-Id: Ia78b33953784e65807a4ed68d7004f928bc25c2c
  • Loading branch information
miriyalar committed Oct 8, 2015
1 parent 3d05521 commit 2326328
Showing 1 changed file with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ CLEANUP_PUPPET_AGENT=""
NO_LOCAL_REPO=1
LOCAL_REPO_DIR=/opt/contrail/contrail_local_repo
CLUSTER_ID=""
NO_SM_MON=""
NO_SM_WEBUI=""

space=" "
arrow="---->"
Expand All @@ -31,6 +33,8 @@ function usage()
echo -e "\t-ni|--no-install-sm-lite"
echo -e "\t-cp|--cleanup-puppet-agent"
echo -e "\t-nr|--no-local-repo"
echo -e "\t-nm|--no-sm-mon"
echo -e "\t-nw|--no-sm-webui"
echo -e "\t-cid|--cluster-id <cluster-id>"
echo ""
}
Expand Down Expand Up @@ -59,6 +63,12 @@ case $key in
-ni|--no-install-sm-lite)
INSTALL_SM_LITE=""
;;
-nm|--no-sm-mon)
NO_SM_MON="--nosm-mon"
;;
-nw|--no-sm-webui)
NO_SM_WEBUI="--nowebui"
;;
-cp|--no-cleanup-puppet-agent)
CLEANUP_PUPPET_AGENT="cleanup_puppet_agent"
;;
Expand Down Expand Up @@ -162,7 +172,7 @@ if [ "$INSTALL_SM_LITE" != "" ]; then

echo "$arrow Install server manager without cobbler option"
pushd /opt/contrail/contrail_server_manager >> $log_file 2>&1
./setup.sh --all --smlite --nowebui --nosm-mon
./setup.sh --all --smlite ${NO_SM_MON} ${NO_SM_WEBUI}
popd >> $log_file 2>&1
fi

Expand Down

0 comments on commit 2326328

Please sign in to comment.