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

This commit is contained in:
Jan Orel authored and Tino Vázquez committed 2018-10-15 18:11:27 +02:00
1 parent 0ac66f1c69
commit d1aa261fd8
2 files changed
+5 -3

No files matched your search

+2
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
+3 -3
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 "$@"`