1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00

B #2491: install.sh accepts -G and -f parameters

This commit is contained in:
Jan Orel 2018-10-09 14:50:25 +02:00 committed by Tino Vázquez
parent 0ac66f1c69
commit d1aa261fd8
2 changed files with 5 additions and 3 deletions

View File

@ -141,6 +141,8 @@ where **install_options** can be one or more of:
-r remove Opennebula, only useful if -d was not specified,
otherwise rm -rf $ONE_LOCATION would do the job
-p do not install OpenNebula Sunstone non-minified files
-G install only OpenNebula Gate
-f install only OpenNebula Flow
-h prints installer help

View File

@ -42,8 +42,8 @@ usage() {
echo "-c: install client utilities: OpenNebula cli and ec2 client files"
echo "-s: install OpenNebula Sunstone"
echo "-p: do not install OpenNebula Sunstone non-minified files"
echo "-G: install OpenNebula Gate"
echo "-f: install OpenNebula Flow"
echo "-G: install only OpenNebula Gate"
echo "-f: install only OpenNebula Flow"
echo "-r: remove Opennebula, only useful if -d was not specified, otherwise"
echo " rm -rf \$ONE_LOCATION would do the job"
echo "-l: creates symlinks instead of copying files, useful for development"
@ -52,7 +52,7 @@ usage() {
}
#-------------------------------------------------------------------------------
PARAMETERS="ehkrlcspou:g:d:"
PARAMETERS="ehkrlcspofGu:g:d:"
if [ $(getopt --version | tr -d " ") = "--" ]; then
TEMP_OPT=`getopt $PARAMETERS "$@"`