2009-01-02 17:58:51 +03:00
#!/bin/bash
2009-01-19 21:05:46 +03:00
# -------------------------------------------------------------------------- #
2012-01-12 15:29:18 +04:00
# Copyright 2002-2012, OpenNebula Project Leads (OpenNebula.org) #
2009-01-19 21:05:46 +03:00
# #
# Licensed under the Apache License, Version 2.0 (the "License"); you may #
# not use this file except in compliance with the License. You may obtain #
# a copy of the License at #
# #
# http://www.apache.org/licenses/LICENSE-2.0 #
# #
# Unless required by applicable law or agreed to in writing, software #
# distributed under the License is distributed on an "AS IS" BASIS, #
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
# See the License for the specific language governing permissions and #
# limitations under the License. #
#--------------------------------------------------------------------------- #
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Install program for OpenNebula. It will install it relative to
2010-07-11 22:39:10 +04:00
# $ONE_LOCATION if defined with the -d option, otherwise it'll be installed
2009-01-02 17:58:51 +03:00
# under /. In this case you may specified the oneadmin user/group, so you do
2011-10-07 17:02:31 +04:00
# not need run the OpenNebula daemon with root privileges
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# COMMAND LINE PARSING
#-------------------------------------------------------------------------------
usage( ) {
echo
2010-07-11 22:39:10 +04:00
echo "Usage: install.sh [-u install_user] [-g install_group] [-k keep conf]"
2009-10-22 15:20:27 +04:00
echo " [-d ONE_LOCATION] [-c occi|ec2] [-r] [-h]"
2010-07-11 22:39:10 +04:00
echo
2011-05-17 13:48:43 +04:00
echo "-u: user that will run opennebula, defaults to user executing install.sh"
echo "-g: group of the user that will run opennebula, defaults to user"
2009-01-02 17:58:51 +03:00
echo " executing install.sh"
2010-11-12 16:12:12 +03:00
echo "-k: keep configuration files of existing OpenNebula installation, useful"
2011-02-10 21:29:35 +03:00
echo " when upgrading. This flag should not be set when installing"
2010-11-12 16:12:12 +03:00
echo " OpenNebula for the first time"
2010-07-27 17:51:05 +04:00
echo "-d: target installation directory, if not defined it'd be root. Must be"
echo " an absolute path."
2011-02-10 17:57:11 +03:00
echo "-c: install client utilities: OpenNebula cli, occi and ec2 client files"
2011-02-23 19:27:17 +03:00
echo "-s: install OpenNebula Sunstone"
2011-07-14 17:50:34 +04:00
echo "-o: install OpenNebula Zones (OZones)"
2009-01-02 17:58:51 +03:00
echo "-r: remove Opennebula, only useful if -d was not specified, otherwise"
echo " rm -rf \$ONE_LOCATION would do the job"
2009-08-27 21:25:39 +04:00
echo "-l: creates symlinks instead of copying files, useful for development"
2009-01-02 17:58:51 +03:00
echo "-h: prints this help"
2008-06-17 20:27:32 +04:00
}
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
2008-06-17 20:27:32 +04:00
2011-07-14 17:50:34 +04:00
TEMP_OPT = ` getopt -o hkrlcsou:g:d: -n 'install.sh' -- " $@ " `
2008-06-17 20:27:32 +04:00
2010-07-11 22:39:10 +04:00
if [ $? != 0 ] ; then
2009-01-02 17:58:51 +03:00
usage
exit 1
2008-06-17 20:27:32 +04:00
fi
2009-01-02 17:58:51 +03:00
eval set -- " $TEMP_OPT "
2008-07-17 23:42:17 +04:00
2009-01-02 17:58:51 +03:00
INSTALL_ETC = "yes"
UNINSTALL = "no"
2009-08-27 21:25:39 +04:00
LINK = "no"
2009-09-25 22:18:50 +04:00
CLIENT = "no"
2011-02-23 19:27:17 +03:00
SUNSTONE = "no"
2011-07-14 17:50:34 +04:00
OZONES = "no"
2009-01-02 17:58:51 +03:00
ONEADMIN_USER = ` id -u`
ONEADMIN_GROUP = ` id -g`
SRC_DIR = $PWD
2008-11-13 19:21:17 +03:00
2009-01-02 17:58:51 +03:00
while true ; do
case " $1 " in
-h) usage; exit 0; ;
-k) INSTALL_ETC = "no" ; shift ; ;
-r) UNINSTALL = "yes" ; shift ; ;
2009-08-27 21:25:39 +04:00
-l) LINK = "yes" ; shift ; ;
2011-02-23 19:27:17 +03:00
-c) CLIENT = "yes" ; INSTALL_ETC = "no" ; shift ; ;
2011-06-21 19:15:55 +04:00
-s) SUNSTONE = "yes" ; shift ; ;
2011-09-07 14:27:34 +04:00
-o) OZONES = "yes" ; shift ; ;
2009-01-02 17:58:51 +03:00
-u) ONEADMIN_USER = " $2 " ; shift 2; ;
-g) ONEADMIN_GROUP = " $2 " ; shift 2; ;
2009-01-19 19:40:46 +03:00
-d) ROOT = " $2 " ; shift 2 ; ;
2009-01-02 17:58:51 +03:00
--) shift ; break ; ;
*) usage; exit 1 ; ;
esac
done
2008-11-13 19:21:17 +03:00
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Definition of locations
#-------------------------------------------------------------------------------
2011-06-13 18:08:07 +04:00
CONF_LOCATION = " $HOME /.one "
2009-01-19 19:40:46 +03:00
if [ -z " $ROOT " ] ; then
2009-01-02 17:58:51 +03:00
BIN_LOCATION = "/usr/bin"
LIB_LOCATION = "/usr/lib/one"
ETC_LOCATION = "/etc/one"
LOG_LOCATION = "/var/log/one"
VAR_LOCATION = "/var/lib/one"
2011-02-23 19:27:17 +03:00
SUNSTONE_LOCATION = " $LIB_LOCATION /sunstone "
2011-07-14 17:50:34 +04:00
OZONES_LOCATION = " $LIB_LOCATION /ozones "
2012-03-01 17:59:19 +04:00
SYSTEM_DS_LOCATION = " $VAR_LOCATION /datastores/0 "
DEFAULT_DS_LOCATION = " $VAR_LOCATION /datastores/1 "
2009-01-02 17:58:51 +03:00
RUN_LOCATION = "/var/run/one"
2009-12-12 18:35:04 +03:00
LOCK_LOCATION = "/var/lock/one"
2009-01-02 17:58:51 +03:00
INCLUDE_LOCATION = "/usr/include"
2010-08-02 13:24:01 +04:00
SHARE_LOCATION = "/usr/share/one"
2011-05-17 14:26:52 +04:00
MAN_LOCATION = "/usr/share/man/man1"
2010-07-11 22:39:10 +04:00
2011-02-23 19:27:17 +03:00
if [ " $CLIENT " = "yes" ] ; then
2011-09-07 14:27:34 +04:00
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $ETC_LOCATION "
2011-02-23 19:27:17 +03:00
DELETE_DIRS = ""
CHOWN_DIRS = ""
elif [ " $SUNSTONE " = "yes" ] ; then
2011-06-13 18:08:07 +04:00
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $VAR_LOCATION \
$SUNSTONE_LOCATION $ETC_LOCATION "
2011-02-23 19:27:17 +03:00
DELETE_DIRS = " $MAKE_DIRS "
2011-07-14 17:50:34 +04:00
CHOWN_DIRS = ""
elif [ " $OZONES " = "yes" ] ; then
2011-09-07 14:27:34 +04:00
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $VAR_LOCATION $OZONES_LOCATION \
$ETC_LOCATION "
2011-12-02 20:37:49 +04:00
2011-07-14 17:50:34 +04:00
DELETE_DIRS = " $MAKE_DIRS "
2011-12-02 20:37:49 +04:00
2011-02-23 19:27:17 +03:00
CHOWN_DIRS = ""
else
2009-09-25 22:18:50 +04:00
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $ETC_LOCATION $VAR_LOCATION \
$INCLUDE_LOCATION $SHARE_LOCATION \
2010-10-14 19:24:01 +04:00
$LOG_LOCATION $RUN_LOCATION $LOCK_LOCATION \
2012-02-22 15:19:47 +04:00
$SYSTEM_DS_LOCATION $DEFAULT_DS_LOCATION $MAN_LOCATION "
2010-07-11 22:39:10 +04:00
2009-09-25 22:18:50 +04:00
DELETE_DIRS = " $LIB_LOCATION $ETC_LOCATION $LOG_LOCATION $VAR_LOCATION \
$RUN_LOCATION $SHARE_DIRS "
2009-12-12 18:35:04 +03:00
CHOWN_DIRS = " $LOG_LOCATION $VAR_LOCATION $RUN_LOCATION $LOCK_LOCATION "
2009-09-25 22:18:50 +04:00
fi
2009-05-07 19:23:13 +04:00
2009-01-02 17:58:51 +03:00
else
2009-01-19 19:40:46 +03:00
BIN_LOCATION = " $ROOT /bin "
LIB_LOCATION = " $ROOT /lib "
ETC_LOCATION = " $ROOT /etc "
VAR_LOCATION = " $ROOT /var "
2011-02-23 19:27:17 +03:00
SUNSTONE_LOCATION = " $LIB_LOCATION /sunstone "
2011-07-14 17:50:34 +04:00
OZONES_LOCATION = " $LIB_LOCATION /ozones "
2012-03-01 17:59:19 +04:00
SYSTEM_DS_LOCATION = " $VAR_LOCATION /datastores/0 "
DEFAULT_DS_LOCATION = " $VAR_LOCATION /datastores/1 "
2009-01-19 19:40:46 +03:00
INCLUDE_LOCATION = " $ROOT /include "
SHARE_LOCATION = " $ROOT /share "
2011-05-17 14:26:52 +04:00
MAN_LOCATION = " $ROOT /share/man/man1 "
2009-01-02 17:58:51 +03:00
2011-02-23 19:27:17 +03:00
if [ " $CLIENT " = "yes" ] ; then
2011-09-07 14:27:34 +04:00
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $ETC_LOCATION "
2011-02-23 19:27:17 +03:00
DELETE_DIRS = " $MAKE_DIRS "
elif [ " $SUNSTONE " = "yes" ] ; then
2011-06-13 18:08:07 +04:00
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $VAR_LOCATION \
$SUNSTONE_LOCATION $ETC_LOCATION "
2011-02-23 19:27:17 +03:00
DELETE_DIRS = " $MAKE_DIRS "
2011-07-14 17:50:34 +04:00
elif [ " $OZONES " = "yes" ] ; then
2011-07-18 14:21:47 +04:00
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $VAR_LOCATION $OZONES_LOCATION \
$ETC_LOCATION "
2011-12-02 20:37:49 +04:00
DELETE_DIRS = " $MAKE_DIRS "
2011-02-23 19:27:17 +03:00
else
2009-09-25 22:18:50 +04:00
MAKE_DIRS = " $BIN_LOCATION $LIB_LOCATION $ETC_LOCATION $VAR_LOCATION \
2012-02-19 05:08:03 +04:00
$INCLUDE_LOCATION $SHARE_LOCATION $SYSTEM_DS_LOCATION \
2012-02-22 15:19:47 +04:00
$DEFAULT_DS_LOCATION $MAN_LOCATION $OZONES_LOCATION "
2010-07-11 22:39:10 +04:00
2009-09-25 22:18:50 +04:00
DELETE_DIRS = " $MAKE_DIRS "
CHOWN_DIRS = " $ROOT "
fi
2009-01-02 17:58:51 +03:00
2009-01-19 19:40:46 +03:00
CHOWN_DIRS = " $ROOT "
2009-01-02 17:58:51 +03:00
fi
2008-11-13 19:21:17 +03:00
2012-04-16 17:03:49 +04:00
SHARE_DIRS = " $SHARE_LOCATION /examples "
2009-01-02 17:58:51 +03:00
2012-03-23 16:49:56 +04:00
ETC_DIRS = " $ETC_LOCATION /im_ec2 \
2009-01-02 17:58:51 +03:00
$ETC_LOCATION /vmm_ec2 \
2011-06-01 20:57:47 +04:00
$ETC_LOCATION /vmm_exec \
2009-07-21 18:56:35 +04:00
$ETC_LOCATION /hm \
2010-07-09 20:59:42 +04:00
$ETC_LOCATION /auth \
2011-09-09 15:56:42 +04:00
$ETC_LOCATION /auth/certificates \
2009-09-03 22:10:55 +04:00
$ETC_LOCATION /ec2query_templates \
2011-06-13 18:08:07 +04:00
$ETC_LOCATION /occi_templates \
$ETC_LOCATION /cli"
2009-01-02 17:58:51 +03:00
2010-11-16 14:29:14 +03:00
LIB_DIRS = " $LIB_LOCATION /ruby \
2009-07-09 18:34:34 +04:00
$LIB_LOCATION /ruby/OpenNebula \
2011-10-11 17:24:19 +04:00
$LIB_LOCATION /ruby/zona \
2009-10-12 03:06:46 +04:00
$LIB_LOCATION /ruby/cloud/ \
$LIB_LOCATION /ruby/cloud/econe \
$LIB_LOCATION /ruby/cloud/econe/views \
$LIB_LOCATION /ruby/cloud/occi \
2011-09-21 20:59:13 +04:00
$LIB_LOCATION /ruby/cloud/CloudAuth \
2011-06-17 14:47:49 +04:00
$LIB_LOCATION /ruby/onedb \
2010-11-24 18:27:07 +03:00
$LIB_LOCATION /mads \
2011-06-13 18:08:07 +04:00
$LIB_LOCATION /sh \
$LIB_LOCATION /ruby/cli \
2012-05-21 19:56:22 +04:00
$LIB_LOCATION /ruby/cli/one_helper"
2009-01-02 17:58:51 +03:00
2010-11-16 14:29:14 +03:00
VAR_DIRS = " $VAR_LOCATION /remotes \
$VAR_LOCATION /remotes/im \
$VAR_LOCATION /remotes/im/kvm.d \
$VAR_LOCATION /remotes/im/xen.d \
2011-11-29 19:37:01 +04:00
$VAR_LOCATION /remotes/im/vmware.d \
2011-02-10 21:29:35 +03:00
$VAR_LOCATION /remotes/im/ganglia.d \
2012-02-29 01:52:48 +04:00
$VAR_LOCATION /remotes/vmm \
2011-03-24 21:52:59 +03:00
$VAR_LOCATION /remotes/vmm/kvm \
2012-02-29 01:52:48 +04:00
$VAR_LOCATION /remotes/vmm/xen \
$VAR_LOCATION /remotes/vmm/vmware \
2011-11-15 15:44:50 +04:00
$VAR_LOCATION /remotes/vnm \
$VAR_LOCATION /remotes/vnm/802.1Q \
$VAR_LOCATION /remotes/vnm/dummy \
$VAR_LOCATION /remotes/vnm/ebtables \
$VAR_LOCATION /remotes/vnm/fw \
$VAR_LOCATION /remotes/vnm/ovswitch \
2012-01-05 15:44:00 +04:00
$VAR_LOCATION /remotes/vnm/vmware \
2012-02-29 01:52:48 +04:00
$VAR_LOCATION /remotes/tm/ \
$VAR_LOCATION /remotes/tm/dummy \
$VAR_LOCATION /remotes/tm/shared \
2012-03-23 23:26:53 +04:00
$VAR_LOCATION /remotes/tm/qcow2 \
2012-02-29 01:52:48 +04:00
$VAR_LOCATION /remotes/tm/ssh \
$VAR_LOCATION /remotes/tm/vmware \
2012-03-13 15:08:36 +04:00
$VAR_LOCATION /remotes/tm/iscsi \
2012-04-24 18:34:48 +04:00
$VAR_LOCATION /remotes/tm/lvm \
2011-06-07 21:03:32 +04:00
$VAR_LOCATION /remotes/hooks \
2011-09-01 18:57:02 +04:00
$VAR_LOCATION /remotes/hooks/ft \
2012-02-13 15:33:16 +04:00
$VAR_LOCATION /remotes/datastore \
2012-03-14 15:20:06 +04:00
$VAR_LOCATION /remotes/datastore/dummy \
2012-02-13 15:33:16 +04:00
$VAR_LOCATION /remotes/datastore/fs \
2012-02-20 23:10:30 +04:00
$VAR_LOCATION /remotes/datastore/vmware \
2012-03-07 15:42:21 +04:00
$VAR_LOCATION /remotes/datastore/iscsi \
2012-04-24 18:34:48 +04:00
$VAR_LOCATION /remotes/datastore/lvm \
2011-07-28 05:43:50 +04:00
$VAR_LOCATION /remotes/auth \
2011-07-28 14:39:40 +04:00
$VAR_LOCATION /remotes/auth/plain \
2011-07-28 21:49:30 +04:00
$VAR_LOCATION /remotes/auth/ssh \
2011-08-19 05:13:50 +04:00
$VAR_LOCATION /remotes/auth/x509 \
2011-11-29 20:02:43 +04:00
$VAR_LOCATION /remotes/auth/ldap \
2011-10-24 19:24:42 +04:00
$VAR_LOCATION /remotes/auth/server_x509 \
2011-10-21 04:27:47 +04:00
$VAR_LOCATION /remotes/auth/server_cipher \
2011-07-28 21:49:30 +04:00
$VAR_LOCATION /remotes/auth/dummy"
2010-11-16 14:29:14 +03:00
2011-02-23 19:27:17 +03:00
SUNSTONE_DIRS = " $SUNSTONE_LOCATION /models \
$SUNSTONE_LOCATION /models/OpenNebulaJSON \
$SUNSTONE_LOCATION /public \
$SUNSTONE_LOCATION /public/js \
2011-04-11 21:37:01 +04:00
$SUNSTONE_LOCATION /public/js/plugins \
2011-06-14 16:27:15 +04:00
$SUNSTONE_LOCATION /public/js/user-plugins \
2011-02-23 19:27:17 +03:00
$SUNSTONE_LOCATION /public/css \
2011-12-01 22:25:17 +04:00
$SUNSTONE_LOCATION /public/locale \
$SUNSTONE_LOCATION /public/locale/en_US \
$SUNSTONE_LOCATION /public/locale/ru \
2012-03-29 14:24:03 +04:00
$SUNSTONE_LOCATION /public/locale/it_IT \
2012-04-13 14:38:13 +04:00
$SUNSTONE_LOCATION /public/locale/pt_PT \
2012-05-15 19:28:42 +04:00
$SUNSTONE_LOCATION /public/locale/fr_FR \
2011-02-28 18:37:42 +03:00
$SUNSTONE_LOCATION /public/vendor \
$SUNSTONE_LOCATION /public/vendor/jQueryLayout \
$SUNSTONE_LOCATION /public/vendor/dataTables \
$SUNSTONE_LOCATION /public/vendor/jQueryUI \
2011-11-29 15:36:16 +04:00
$SUNSTONE_LOCATION /public/vendor/jQueryUI/images \
2011-02-28 18:37:42 +03:00
$SUNSTONE_LOCATION /public/vendor/jQuery \
$SUNSTONE_LOCATION /public/vendor/jGrowl \
2011-06-16 19:51:21 +04:00
$SUNSTONE_LOCATION /public/vendor/flot \
2012-02-15 17:10:24 +04:00
$SUNSTONE_LOCATION /public/vendor/fileuploader \
2012-06-03 01:28:27 +04:00
$SUNSTONE_LOCATION /public/vendor/FontAwesome \
$SUNSTONE_LOCATION /public/vendor/FontAwesome/css \
$SUNSTONE_LOCATION /public/vendor/FontAwesome/font \
2011-02-23 19:27:17 +03:00
$SUNSTONE_LOCATION /public/images \
2011-06-14 16:27:15 +04:00
$SUNSTONE_LOCATION /templates \
$SUNSTONE_LOCATION /views"
2011-12-02 20:37:49 +04:00
2011-07-14 17:50:34 +04:00
OZONES_DIRS = " $OZONES_LOCATION /lib \
$OZONES_LOCATION /lib/OZones \
$OZONES_LOCATION /models \
$OZONES_LOCATION /templates \
$OZONES_LOCATION /public \
$OZONES_LOCATION /public/vendor \
$OZONES_LOCATION /public/vendor/jQuery \
$OZONES_LOCATION /public/vendor/jQueryLayout \
$OZONES_LOCATION /public/vendor/dataTables \
$OZONES_LOCATION /public/vendor/jQueryUI \
2011-11-29 15:36:16 +04:00
$OZONES_LOCATION /public/vendor/jQueryUI/images \
2011-07-14 17:50:34 +04:00
$OZONES_LOCATION /public/vendor/jGrowl \
2012-06-03 01:28:27 +04:00
$OZONES_LOCATION /public/vendor/FontAwesome \
$OZONES_LOCATION /public/vendor/FontAwesome/css \
$OZONES_LOCATION /public/vendor/FontAwesome/font \
2011-07-14 17:50:34 +04:00
$OZONES_LOCATION /public/js \
$OZONES_LOCATION /public/js/plugins \
$OZONES_LOCATION /public/images \
$OZONES_LOCATION /public/css"
2012-01-02 21:54:40 +04:00
SELF_SERVICE_DIRS = " \
$LIB_LOCATION /ruby/cloud/occi/ui \
$LIB_LOCATION /ruby/cloud/occi/ui/templates \
$LIB_LOCATION /ruby/cloud/occi/ui/views \
$LIB_LOCATION /ruby/cloud/occi/ui/public \
$LIB_LOCATION /ruby/cloud/occi/ui/public/css \
$LIB_LOCATION /ruby/cloud/occi/ui/public/customize \
$LIB_LOCATION /ruby/cloud/occi/ui/public/images \
$LIB_LOCATION /ruby/cloud/occi/ui/public/js \
$LIB_LOCATION /ruby/cloud/occi/ui/public/js/plugins \
$LIB_LOCATION /ruby/cloud/occi/ui/public/locale \
$LIB_LOCATION /ruby/cloud/occi/ui/public/locale/en_US \
$LIB_LOCATION /ruby/cloud/occi/ui/public/locale/es_ES \
2012-04-11 14:31:42 +04:00
$LIB_LOCATION /ruby/cloud/occi/ui/public/locale/fr_FR \
$LIB_LOCATION /ruby/cloud/occi/ui/public/locale/fr_CA \
2012-01-02 21:54:40 +04:00
$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor \
$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/jQueryLayout \
$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/dataTables \
$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/jQueryUI \
$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/jQueryUI/images \
$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/jQuery \
$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/jGrowl \
$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/flot \
$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/crypto-js \
$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/fileuploader \
2012-06-03 01:28:27 +04:00
$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/xml2json \
$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/FontAwesome \
$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/FontAwesome/css \
$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/FontAwesome/font"
2012-01-02 21:54:40 +04:00
2011-07-14 17:50:34 +04:00
OZONES_CLIENT_DIRS = " $LIB_LOCATION /ruby \
$LIB_LOCATION /ruby/OpenNebula \
$LIB_LOCATION /ruby/cli \
2011-10-11 17:24:19 +04:00
$LIB_LOCATION /ruby/cli/ozones_helper \
$LIB_LOCATION /ruby/zona"
2011-02-23 19:27:17 +03:00
2009-10-22 15:20:27 +04:00
LIB_ECO_CLIENT_DIRS = " $LIB_LOCATION /ruby \
2011-02-10 17:57:11 +03:00
$LIB_LOCATION /ruby/OpenNebula \
2009-10-22 15:20:27 +04:00
$LIB_LOCATION /ruby/cloud/ \
$LIB_LOCATION /ruby/cloud/econe"
LIB_OCCI_CLIENT_DIRS = " $LIB_LOCATION /ruby \
2011-02-10 17:57:11 +03:00
$LIB_LOCATION /ruby/OpenNebula \
2009-10-22 15:20:27 +04:00
$LIB_LOCATION /ruby/cloud/occi"
2009-09-25 22:18:50 +04:00
2011-02-23 19:27:17 +03:00
LIB_OCA_CLIENT_DIRS = " $LIB_LOCATION /ruby \
$LIB_LOCATION /ruby/OpenNebula"
2011-06-13 18:08:07 +04:00
LIB_CLI_CLIENT_DIRS = " $LIB_LOCATION /ruby/cli \
$LIB_LOCATION /ruby/cli/one_helper"
2011-09-07 14:27:34 +04:00
CONF_CLI_DIRS = " $ETC_LOCATION /cli "
2011-02-10 17:57:11 +03:00
2011-02-23 19:27:17 +03:00
if [ " $CLIENT " = "yes" ] ; then
2011-02-10 17:57:11 +03:00
MAKE_DIRS = " $MAKE_DIRS $LIB_ECO_CLIENT_DIRS $LIB_OCCI_CLIENT_DIRS \
2011-07-14 17:50:34 +04:00
$LIB_OCA_CLIENT_DIRS $LIB_CLI_CLIENT_DIRS $CONF_CLI_DIRS \
2012-01-02 21:54:40 +04:00
$ETC_LOCATION $OZONES_CLIENT_DIRS $SELF_SERVICE_DIRS "
2011-02-23 19:27:17 +03:00
elif [ " $SUNSTONE " = "yes" ] ; then
MAKE_DIRS = " $MAKE_DIRS $SUNSTONE_DIRS $LIB_OCA_CLIENT_DIRS "
2011-07-14 17:50:34 +04:00
elif [ " $OZONES " = "yes" ] ; then
MAKE_DIRS = " $MAKE_DIRS $OZONES_DIRS $OZONES_CLIENT_DIRS $LIB_OCA_CLIENT_DIRS "
2011-02-23 19:27:17 +03:00
else
2011-10-07 17:02:31 +04:00
MAKE_DIRS = " $MAKE_DIRS $SHARE_DIRS $ETC_DIRS $LIB_DIRS $VAR_DIRS \
2012-01-02 21:54:40 +04:00
$OZONES_DIRS $OZONES_CLIENT_DIRS $SUNSTONE_DIRS $SELF_SERVICE_DIRS "
2009-09-25 22:18:50 +04:00
fi
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# FILE DEFINITION, WHAT IS GOING TO BE INSTALLED AND WHERE
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
2011-02-10 20:16:18 +03:00
INSTALL_FILES = (
BIN_FILES:$BIN_LOCATION
INCLUDE_FILES:$INCLUDE_LOCATION
LIB_FILES:$LIB_LOCATION
RUBY_LIB_FILES:$LIB_LOCATION /ruby
RUBY_OPENNEBULA_LIB_FILES:$LIB_LOCATION /ruby/OpenNebula
2011-05-10 18:08:05 +04:00
MAD_RUBY_LIB_FILES:$LIB_LOCATION /ruby
MAD_RUBY_LIB_FILES:$VAR_LOCATION /remotes
2011-04-13 02:15:12 +04:00
MAD_SH_LIB_FILES:$LIB_LOCATION /sh
2011-03-29 19:28:48 +04:00
MAD_SH_LIB_FILES:$VAR_LOCATION /remotes
2011-06-16 21:40:21 +04:00
ONEDB_MIGRATOR_FILES:$LIB_LOCATION /ruby/onedb
2011-02-10 20:16:18 +03:00
MADS_LIB_FILES:$LIB_LOCATION /mads
IM_PROBES_FILES:$VAR_LOCATION /remotes/im
IM_PROBES_KVM_FILES:$VAR_LOCATION /remotes/im/kvm.d
IM_PROBES_XEN_FILES:$VAR_LOCATION /remotes/im/xen.d
2011-11-29 19:37:01 +04:00
IM_PROBES_VMWARE_FILES:$VAR_LOCATION /remotes/im/vmware.d
2011-02-10 21:29:35 +03:00
IM_PROBES_GANGLIA_FILES:$VAR_LOCATION /remotes/im/ganglia.d
2011-07-28 05:43:50 +04:00
AUTH_SSH_FILES:$VAR_LOCATION /remotes/auth/ssh
2011-08-19 05:13:50 +04:00
AUTH_X509_FILES:$VAR_LOCATION /remotes/auth/x509
2011-11-29 20:02:43 +04:00
AUTH_LDAP_FILES:$VAR_LOCATION /remotes/auth/ldap
2011-10-24 19:24:42 +04:00
AUTH_SERVER_X509_FILES:$VAR_LOCATION /remotes/auth/server_x509
2011-10-21 04:27:47 +04:00
AUTH_SERVER_CIPHER_FILES:$VAR_LOCATION /remotes/auth/server_cipher
2011-07-28 21:49:30 +04:00
AUTH_DUMMY_FILES:$VAR_LOCATION /remotes/auth/dummy
2011-12-02 20:37:49 +04:00
AUTH_PLAIN_FILES:$VAR_LOCATION /remotes/auth/plain
2011-06-01 20:57:47 +04:00
VMM_EXEC_KVM_SCRIPTS:$VAR_LOCATION /remotes/vmm/kvm
VMM_EXEC_XEN_SCRIPTS:$VAR_LOCATION /remotes/vmm/xen
2011-11-29 19:37:01 +04:00
VMM_EXEC_VMWARE_SCRIPTS:$VAR_LOCATION /remotes/vmm/vmware
2012-02-29 01:52:48 +04:00
TM_FILES:$VAR_LOCATION /remotes/tm
TM_SHARED_FILES:$VAR_LOCATION /remotes/tm/shared
2012-03-23 23:26:53 +04:00
TM_QCOW2_FILES:$VAR_LOCATION /remotes/tm/qcow2
2012-02-29 01:52:48 +04:00
TM_SSH_FILES:$VAR_LOCATION /remotes/tm/ssh
TM_VMWARE_FILES:$VAR_LOCATION /remotes/tm/vmware
2012-03-13 15:08:36 +04:00
TM_ISCSI_FILES:$VAR_LOCATION /remotes/tm/iscsi
2012-04-24 18:34:48 +04:00
TM_LVM_FILES:$VAR_LOCATION /remotes/tm/lvm
2012-02-29 01:52:48 +04:00
TM_DUMMY_FILES:$VAR_LOCATION /remotes/tm/dummy
2012-02-19 05:08:03 +04:00
DATASTORE_DRIVER_COMMON_SCRIPTS:$VAR_LOCATION /remotes/datastore/
2012-03-14 15:20:06 +04:00
DATASTORE_DRIVER_DUMMY_SCRIPTS:$VAR_LOCATION /remotes/datastore/dummy
2012-02-19 05:08:03 +04:00
DATASTORE_DRIVER_FS_SCRIPTS:$VAR_LOCATION /remotes/datastore/fs
2012-02-20 23:10:30 +04:00
DATASTORE_DRIVER_VMWARE_SCRIPTS:$VAR_LOCATION /remotes/datastore/vmware
2012-03-07 15:42:21 +04:00
DATASTORE_DRIVER_ISCSI_SCRIPTS:$VAR_LOCATION /remotes/datastore/iscsi
2012-04-24 18:34:48 +04:00
DATASTORE_DRIVER_LVM_SCRIPTS:$VAR_LOCATION /remotes/datastore/lvm
2011-11-15 15:44:50 +04:00
NETWORK_FILES:$VAR_LOCATION /remotes/vnm
NETWORK_8021Q_FILES:$VAR_LOCATION /remotes/vnm/802.1Q
NETWORK_DUMMY_FILES:$VAR_LOCATION /remotes/vnm/dummy
NETWORK_EBTABLES_FILES:$VAR_LOCATION /remotes/vnm/ebtables
NETWORK_FW_FILES:$VAR_LOCATION /remotes/vnm/fw
NETWORK_OVSWITCH_FILES:$VAR_LOCATION /remotes/vnm/ovswitch
2012-01-05 15:44:00 +04:00
NETWORK_VMWARE_FILES:$VAR_LOCATION /remotes/vnm/vmware
2011-02-10 20:16:18 +03:00
EXAMPLE_SHARE_FILES:$SHARE_LOCATION /examples
2011-05-13 20:22:14 +04:00
INSTALL_NOVNC_SHARE_FILE:$SHARE_LOCATION
2011-07-15 13:53:48 +04:00
INSTALL_GEMS_SHARE_FILE:$SHARE_LOCATION
2011-09-01 18:57:02 +04:00
HOOK_FT_FILES:$VAR_LOCATION /remotes/hooks/ft
2011-02-10 20:16:18 +03:00
COMMON_CLOUD_LIB_FILES:$LIB_LOCATION /ruby/cloud
2011-09-21 20:59:13 +04:00
CLOUD_AUTH_LIB_FILES:$LIB_LOCATION /ruby/cloud/CloudAuth
2011-02-10 20:16:18 +03:00
ECO_LIB_FILES:$LIB_LOCATION /ruby/cloud/econe
ECO_LIB_VIEW_FILES:$LIB_LOCATION /ruby/cloud/econe/views
ECO_BIN_FILES:$BIN_LOCATION
OCCI_LIB_FILES:$LIB_LOCATION /ruby/cloud/occi
OCCI_BIN_FILES:$BIN_LOCATION
MAN_FILES:$MAN_LOCATION
2011-06-13 18:08:07 +04:00
CLI_LIB_FILES:$LIB_LOCATION /ruby/cli
ONE_CLI_LIB_FILES:$LIB_LOCATION /ruby/cli/one_helper
2011-02-10 20:16:18 +03:00
)
INSTALL_CLIENT_FILES = (
COMMON_CLOUD_CLIENT_LIB_FILES:$LIB_LOCATION /ruby/cloud
ECO_LIB_CLIENT_FILES:$LIB_LOCATION /ruby/cloud/econe
ECO_BIN_CLIENT_FILES:$BIN_LOCATION
COMMON_CLOUD_CLIENT_LIB_FILES:$LIB_LOCATION /ruby/cloud
OCCI_LIB_CLIENT_FILES:$LIB_LOCATION /ruby/cloud/occi
OCCI_BIN_CLIENT_FILES:$BIN_LOCATION
CLI_BIN_FILES:$BIN_LOCATION
2011-06-13 18:08:07 +04:00
CLI_LIB_FILES:$LIB_LOCATION /ruby/cli
ONE_CLI_LIB_FILES:$LIB_LOCATION /ruby/cli/one_helper
2011-07-12 16:00:02 +04:00
ETC_CLIENT_FILES:$ETC_LOCATION
2011-07-14 17:50:34 +04:00
OZONES_BIN_CLIENT_FILES:$BIN_LOCATION
OZONES_LIB_CLIENT_CLI_FILES:$LIB_LOCATION /ruby/cli
OZONES_LIB_CLIENT_CLI_HELPER_FILES:$LIB_LOCATION /ruby/cli/ozones_helper
2011-10-11 17:24:19 +04:00
OZONES_LIB_API_FILES:$LIB_LOCATION /ruby
OZONES_LIB_API_ZONA_FILES:$LIB_LOCATION /ruby/zona
2011-09-07 14:27:34 +04:00
CLI_CONF_FILES:$ETC_LOCATION /cli
2011-06-13 18:08:07 +04:00
OCA_LIB_FILES:$LIB_LOCATION /ruby
2011-02-10 20:16:18 +03:00
RUBY_OPENNEBULA_LIB_FILES:$LIB_LOCATION /ruby/OpenNebula
)
2011-02-24 14:28:57 +03:00
INSTALL_SUNSTONE_RUBY_FILES = (
RUBY_OPENNEBULA_LIB_FILES:$LIB_LOCATION /ruby/OpenNebula
2011-06-13 18:08:07 +04:00
OCA_LIB_FILES:$LIB_LOCATION /ruby
2011-02-24 14:28:57 +03:00
)
2011-02-23 19:27:17 +03:00
INSTALL_SUNSTONE_FILES = (
SUNSTONE_FILES:$SUNSTONE_LOCATION
SUNSTONE_BIN_FILES:$BIN_LOCATION
SUNSTONE_MODELS_FILES:$SUNSTONE_LOCATION /models
SUNSTONE_MODELS_JSON_FILES:$SUNSTONE_LOCATION /models/OpenNebulaJSON
SUNSTONE_TEMPLATE_FILES:$SUNSTONE_LOCATION /templates
2011-06-14 16:27:15 +04:00
SUNSTONE_VIEWS_FILES:$SUNSTONE_LOCATION /views
2011-02-23 19:27:17 +03:00
SUNSTONE_PUBLIC_JS_FILES:$SUNSTONE_LOCATION /public/js
2011-04-11 21:37:01 +04:00
SUNSTONE_PUBLIC_JS_PLUGINS_FILES:$SUNSTONE_LOCATION /public/js/plugins
2011-02-23 19:27:17 +03:00
SUNSTONE_PUBLIC_CSS_FILES:$SUNSTONE_LOCATION /public/css
2011-02-28 18:37:42 +03:00
SUNSTONE_PUBLIC_VENDOR_DATATABLES:$SUNSTONE_LOCATION /public/vendor/dataTables
SUNSTONE_PUBLIC_VENDOR_JGROWL:$SUNSTONE_LOCATION /public/vendor/jGrowl
SUNSTONE_PUBLIC_VENDOR_JQUERY:$SUNSTONE_LOCATION /public/vendor/jQuery
SUNSTONE_PUBLIC_VENDOR_JQUERYUI:$SUNSTONE_LOCATION /public/vendor/jQueryUI
2011-11-29 15:36:16 +04:00
SUNSTONE_PUBLIC_VENDOR_JQUERYUIIMAGES:$SUNSTONE_LOCATION /public/vendor/jQueryUI/images
2011-02-28 18:37:42 +03:00
SUNSTONE_PUBLIC_VENDOR_JQUERYLAYOUT:$SUNSTONE_LOCATION /public/vendor/jQueryLayout
2011-06-16 19:51:21 +04:00
SUNSTONE_PUBLIC_VENDOR_FLOT:$SUNSTONE_LOCATION /public/vendor/flot
2012-02-15 17:10:24 +04:00
SUNSTONE_PUBLIC_VENDOR_FILEUPLOADER:$SUNSTONE_LOCATION /public/vendor/fileuploader
2012-06-03 01:28:27 +04:00
SUNSTONE_PUBLIC_VENDOR_FONTAWESOME:$SUNSTONE_LOCATION /public/vendor/FontAwesome
SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_FONT:$SUNSTONE_LOCATION /public/vendor/FontAwesome/font
SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_CSS:$SUNSTONE_LOCATION /public/vendor/FontAwesome/css
2011-02-23 19:27:17 +03:00
SUNSTONE_PUBLIC_IMAGES_FILES:$SUNSTONE_LOCATION /public/images
2011-12-01 22:25:17 +04:00
SUNSTONE_PUBLIC_LOCALE_EN_US:$SUNSTONE_LOCATION /public/locale/en_US
SUNSTONE_PUBLIC_LOCALE_RU:$SUNSTONE_LOCATION /public/locale/ru
2012-03-29 14:24:03 +04:00
SUNSTONE_PUBLIC_LOCALE_IT_IT:$SUNSTONE_LOCATION /public/locale/it_IT
2012-04-13 14:38:13 +04:00
SUNSTONE_PUBLIC_LOCALE_PT_PT:$SUNSTONE_LOCATION /public/locale/pt_PT
2012-05-15 19:28:42 +04:00
SUNSTONE_PUBLIC_LOCALE_PT_PT:$SUNSTONE_LOCATION /public/locale/fr_FR
2011-02-23 19:27:17 +03:00
)
2011-06-21 19:15:55 +04:00
INSTALL_SUNSTONE_ETC_FILES = (
SUNSTONE_ETC_FILES:$ETC_LOCATION
)
2011-07-14 17:50:34 +04:00
INSTALL_OZONES_RUBY_FILES = (
OZONES_RUBY_LIB_FILES:$LIB_LOCATION /ruby
RUBY_OPENNEBULA_LIB_FILES:$LIB_LOCATION /ruby/OpenNebula
)
INSTALL_OZONES_FILES = (
OZONES_FILES:$OZONES_LOCATION
OZONES_BIN_FILES:$BIN_LOCATION
OZONES_MODELS_FILES:$OZONES_LOCATION /models
OZONES_TEMPLATE_FILES:$OZONES_LOCATION /templates
OZONES_LIB_FILES:$OZONES_LOCATION /lib
OZONES_LIB_ZONE_FILES:$OZONES_LOCATION /lib/OZones
OZONES_PUBLIC_VENDOR_JQUERY:$OZONES_LOCATION /public/vendor/jQuery
OZONES_PUBLIC_VENDOR_DATATABLES:$OZONES_LOCATION /public/vendor/dataTables
OZONES_PUBLIC_VENDOR_JGROWL:$OZONES_LOCATION /public/vendor/jGrowl
OZONES_PUBLIC_VENDOR_JQUERYUI:$OZONES_LOCATION /public/vendor/jQueryUI
2011-11-29 15:36:16 +04:00
OZONES_PUBLIC_VENDOR_JQUERYUIIMAGES:$OZONES_LOCATION /public/vendor/jQueryUI/images
2011-07-14 17:50:34 +04:00
OZONES_PUBLIC_VENDOR_JQUERYLAYOUT:$OZONES_LOCATION /public/vendor/jQueryLayout
2012-06-03 01:28:27 +04:00
OZONES_PUBLIC_VENDOR_FONTAWESOME:$OZONES_LOCATION /public/vendor/FontAwesome
OZONES_PUBLIC_VENDOR_FONTAWESOME_FONT:$OZONES_LOCATION /public/vendor/FontAwesome/font
OZONES_PUBLIC_VENDOR_FONTAWESOME_CSS:$OZONES_LOCATION /public/vendor/FontAwesome/css
2011-07-14 17:50:34 +04:00
OZONES_PUBLIC_JS_FILES:$OZONES_LOCATION /public/js
OZONES_PUBLIC_IMAGES_FILES:$OZONES_LOCATION /public/images
OZONES_PUBLIC_CSS_FILES:$OZONES_LOCATION /public/css
OZONES_PUBLIC_JS_PLUGINS_FILES:$OZONES_LOCATION /public/js/plugins
OZONES_BIN_CLIENT_FILES:$BIN_LOCATION
OZONES_LIB_CLIENT_CLI_FILES:$LIB_LOCATION /ruby/cli
OZONES_LIB_CLIENT_CLI_HELPER_FILES:$LIB_LOCATION /ruby/cli/ozones_helper
2011-10-11 17:24:19 +04:00
OZONES_LIB_API_FILES:$LIB_LOCATION /ruby
OZONES_LIB_API_ZONA_FILES:$LIB_LOCATION /ruby/zona
2011-07-14 17:50:34 +04:00
)
2011-09-07 14:27:34 +04:00
INSTALL_OZONES_ETC_FILES = (
OZONES_ETC_FILES:$ETC_LOCATION
)
2012-01-02 21:54:40 +04:00
INSTALL_SELF_SERVICE_FILES = (
SELF_SERVICE_TEMPLATE_FILES:$LIB_LOCATION /ruby/cloud/occi/ui/templates
SELF_SERVICE_VIEWS_FILES:$LIB_LOCATION /ruby/cloud/occi/ui/views
SELF_SERVICE_PUBLIC_JS_FILES:$LIB_LOCATION /ruby/cloud/occi/ui/public/js
SELF_SERVICE_PUBLIC_JS_PLUGINS_FILES:$LIB_LOCATION /ruby/cloud/occi/ui/public/js/plugins
SELF_SERVICE_PUBLIC_CSS_FILES:$LIB_LOCATION /ruby/cloud/occi/ui/public/css
SELF_SERVICE_PUBLIC_CUSTOMIZE_FILES:$LIB_LOCATION /ruby/cloud/occi/ui/public/customize
SELF_SERVICE_PUBLIC_VENDOR_DATATABLES:$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/dataTables
SELF_SERVICE_PUBLIC_VENDOR_JGROWL:$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/jGrowl
SELF_SERVICE_PUBLIC_VENDOR_JQUERY:$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/jQuery
SELF_SERVICE_PUBLIC_VENDOR_JQUERYUI:$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/jQueryUI
SELF_SERVICE_PUBLIC_VENDOR_JQUERYUIIMAGES:$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/jQueryUI/images
SELF_SERVICE_PUBLIC_VENDOR_JQUERYLAYOUT:$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/jQueryLayout
SELF_SERVICE_PUBLIC_VENDOR_FLOT:$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/flot
SELF_SERVICE_PUBLIC_VENDOR_CRYPTOJS:$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/crypto-js
SELF_SERVICE_PUBLIC_VENDOR_FILEUPLOADER:$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/fileuploader
SELF_SERVICE_PUBLIC_VENDOR_XML2JSON:$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/xml2json
2012-06-03 01:28:27 +04:00
SELF_SERVICE_PUBLIC_VENDOR_FONTAWESOME:$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/FontAwesome
SELF_SERVICE_PUBLIC_VENDOR_FONTAWESOME_CSS:$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/FontAwesome/css
SELF_SERVICE_PUBLIC_VENDOR_FONTAWESOME_FONT:$LIB_LOCATION /ruby/cloud/occi/ui/public/vendor/FontAwesome/font
2012-01-02 21:54:40 +04:00
SELF_SERVICE_PUBLIC_IMAGES_FILES:$LIB_LOCATION /ruby/cloud/occi/ui/public/images
SELF_SERVICE_PUBLIC_LOCALE_EN_US:$LIB_LOCATION /ruby/cloud/occi/ui/public/locale/en_US
SELF_SERVICE_PUBLIC_LOCALE_ES_ES:$LIB_LOCATION /ruby/cloud/occi/ui/public/locale/es_ES
2012-04-11 14:31:42 +04:00
SELF_SERVICE_PUBLIC_LOCALE_FR_FR:$LIB_LOCATION /ruby/cloud/occi/ui/public/locale/fr_FR
SELF_SERVICE_PUBLIC_LOCALE_FR_CA:$LIB_LOCATION /ruby/cloud/occi/ui/public/locale/fr_CA
2012-01-02 21:54:40 +04:00
)
2011-02-10 20:16:18 +03:00
INSTALL_ETC_FILES = (
ETC_FILES:$ETC_LOCATION
2011-11-29 19:37:01 +04:00
VMWARE_ETC_FILES:$ETC_LOCATION
2011-02-10 20:16:18 +03:00
VMM_EC2_ETC_FILES:$ETC_LOCATION /vmm_ec2
2011-06-01 20:57:47 +04:00
VMM_EXEC_ETC_FILES:$ETC_LOCATION /vmm_exec
2011-02-10 20:16:18 +03:00
IM_EC2_ETC_FILES:$ETC_LOCATION /im_ec2
HM_ETC_FILES:$ETC_LOCATION /hm
AUTH_ETC_FILES:$ETC_LOCATION /auth
ECO_ETC_FILES:$ETC_LOCATION
ECO_ETC_TEMPLATE_FILES:$ETC_LOCATION /ec2query_templates
OCCI_ETC_FILES:$ETC_LOCATION
OCCI_ETC_TEMPLATE_FILES:$ETC_LOCATION /occi_templates
2011-06-13 18:08:07 +04:00
CLI_CONF_FILES:$ETC_LOCATION /cli
2011-02-10 20:16:18 +03:00
)
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Binary files, to be installed under $BIN_LOCATION
#-------------------------------------------------------------------------------
BIN_FILES = " src/nebula/oned \
2010-05-14 19:49:23 +04:00
src/scheduler/src/sched/mm_sched \
2010-05-17 17:54:46 +04:00
src/cli/onevm \
2011-11-29 20:17:53 +04:00
src/cli/oneacct \
2010-05-17 17:54:46 +04:00
src/cli/onehost \
src/cli/onevnet \
src/cli/oneuser \
2010-06-25 15:39:43 +04:00
src/cli/oneimage \
2011-05-10 20:45:15 +04:00
src/cli/onegroup \
2011-03-31 18:34:08 +04:00
src/cli/onetemplate \
2011-06-22 21:22:52 +04:00
src/cli/oneacl \
2012-02-09 21:55:18 +04:00
src/cli/onedatastore \
2012-02-24 18:53:53 +04:00
src/cli/onecluster \
2011-06-16 21:40:21 +04:00
src/onedb/onedb \
2012-06-08 17:33:25 +04:00
src/onedb/onezonedb/onezonedb \
2011-11-29 19:37:01 +04:00
src/mad/utils/tty_expect \
2011-08-26 02:02:32 +04:00
share/scripts/one"
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# C/C++ OpenNebula API Library & Development files
# Include files, to be installed under $INCLUDE_LOCATION
# Library files, to be installed under $LIB_LOCATION
#-------------------------------------------------------------------------------
2010-05-17 17:54:46 +04:00
INCLUDE_FILES = ""
LIB_FILES = ""
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Ruby library files, to be installed under $LIB_LOCATION/ruby
#-------------------------------------------------------------------------------
2010-09-01 01:28:05 +04:00
RUBY_LIB_FILES = " src/mad/ruby/ActionManager.rb \
2009-02-10 20:37:38 +03:00
src/mad/ruby/CommandManager.rb \
src/mad/ruby/OpenNebulaDriver.rb \
src/mad/ruby/VirtualMachineDriver.rb \
2011-11-22 16:49:41 +04:00
src/mad/ruby/DriverExecHelper.rb \
src/mad/ruby/ssh_stream.rb \
src/vnm_mad/one_vnm.rb \
2011-02-10 21:29:35 +03:00
src/mad/ruby/Ganglia.rb \
2009-07-23 17:54:48 +04:00
src/oca/ruby/OpenNebula.rb \
2011-08-19 05:13:50 +04:00
src/authm_mad/remotes/ssh/ssh_auth.rb \
2011-10-24 19:24:42 +04:00
src/authm_mad/remotes/server_x509/server_x509_auth.rb \
2011-10-21 04:27:47 +04:00
src/authm_mad/remotes/server_cipher/server_cipher_auth.rb \
2011-11-29 20:02:43 +04:00
src/authm_mad/remotes/ldap/ldap_auth.rb \
2011-08-19 05:13:50 +04:00
src/authm_mad/remotes/x509/x509_auth.rb"
2009-01-02 17:58:51 +03:00
2011-04-13 02:15:12 +04:00
#-----------------------------------------------------------------------------
2011-05-10 18:08:05 +04:00
# MAD Script library files, to be installed under $LIB_LOCATION/<script lang>
2011-04-13 02:15:12 +04:00
# and remotes directory
#-----------------------------------------------------------------------------
MAD_SH_LIB_FILES = "src/mad/sh/scripts_common.sh"
2011-05-10 18:08:05 +04:00
MAD_RUBY_LIB_FILES = "src/mad/ruby/scripts_common.rb"
2011-04-13 02:15:12 +04:00
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Driver executable files, to be installed under $LIB_LOCATION/mads
#-------------------------------------------------------------------------------
2009-09-25 20:03:03 +04:00
MADS_LIB_FILES = " src/mad/sh/madcommon.sh \
2011-06-01 20:57:47 +04:00
src/vmm_mad/exec/one_vmm_exec.rb \
src/vmm_mad/exec/one_vmm_exec \
2011-06-01 21:32:50 +04:00
src/vmm_mad/exec/one_vmm_sh \
2011-06-07 22:20:51 +04:00
src/vmm_mad/exec/one_vmm_ssh \
2009-01-02 17:58:51 +03:00
src/vmm_mad/ec2/one_vmm_ec2.rb \
src/vmm_mad/ec2/one_vmm_ec2 \
2010-09-01 21:58:01 +04:00
src/vmm_mad/dummy/one_vmm_dummy.rb \
src/vmm_mad/dummy/one_vmm_dummy \
2011-06-03 20:22:51 +04:00
src/im_mad/im_exec/one_im_exec.rb \
src/im_mad/im_exec/one_im_exec \
2011-06-15 21:19:43 +04:00
src/im_mad/im_exec/one_im_ssh \
src/im_mad/im_exec/one_im_sh \
2009-01-02 17:58:51 +03:00
src/im_mad/ec2/one_im_ec2.rb \
src/im_mad/ec2/one_im_ec2 \
2010-09-01 21:58:01 +04:00
src/im_mad/dummy/one_im_dummy.rb \
src/im_mad/dummy/one_im_dummy \
2009-01-02 17:58:51 +03:00
src/tm_mad/one_tm \
2009-04-04 03:34:33 +04:00
src/tm_mad/one_tm.rb \
src/hm_mad/one_hm.rb \
2010-07-09 20:59:42 +04:00
src/hm_mad/one_hm \
src/authm_mad/one_auth_mad.rb \
2011-03-22 20:21:09 +03:00
src/authm_mad/one_auth_mad \
2012-02-19 05:08:03 +04:00
src/datastore_mad/one_datastore.rb \
src/datastore_mad/one_datastore"
2010-07-12 19:07:56 +04:00
2010-08-24 18:44:42 +04:00
#-------------------------------------------------------------------------------
# VMM SH Driver KVM scripts, to be installed under $REMOTES_LOCATION/vmm/kvm
#-------------------------------------------------------------------------------
2011-06-01 20:57:47 +04:00
VMM_EXEC_KVM_SCRIPTS = " src/vmm_mad/remotes/kvm/cancel \
2010-08-30 15:00:11 +04:00
src/vmm_mad/remotes/kvm/deploy \
src/vmm_mad/remotes/kvm/kvmrc \
src/vmm_mad/remotes/kvm/migrate \
2011-07-01 15:53:14 +04:00
src/vmm_mad/remotes/kvm/migrate_local \
2010-08-30 15:00:11 +04:00
src/vmm_mad/remotes/kvm/restore \
2011-12-26 03:13:34 +04:00
src/vmm_mad/remotes/kvm/reboot \
2012-05-17 19:49:54 +04:00
src/vmm_mad/remotes/kvm/reset \
2010-08-30 15:00:11 +04:00
src/vmm_mad/remotes/kvm/save \
2011-09-15 19:43:13 +04:00
src/vmm_mad/remotes/kvm/poll \
2011-09-16 01:16:13 +04:00
src/vmm_mad/remotes/kvm/poll_ganglia \
2010-08-30 15:00:11 +04:00
src/vmm_mad/remotes/kvm/shutdown"
2010-08-24 18:44:42 +04:00
#-------------------------------------------------------------------------------
# VMM SH Driver Xen scripts, to be installed under $REMOTES_LOCATION/vmm/xen
#-------------------------------------------------------------------------------
2011-06-01 20:57:47 +04:00
VMM_EXEC_XEN_SCRIPTS = " src/vmm_mad/remotes/xen/cancel \
2010-08-30 15:00:11 +04:00
src/vmm_mad/remotes/xen/deploy \
src/vmm_mad/remotes/xen/xenrc \
src/vmm_mad/remotes/xen/migrate \
src/vmm_mad/remotes/xen/restore \
2011-12-26 03:16:44 +04:00
src/vmm_mad/remotes/xen/reboot \
2012-05-17 19:49:54 +04:00
src/vmm_mad/remotes/xen/reset \
2010-08-30 15:00:11 +04:00
src/vmm_mad/remotes/xen/save \
2011-09-15 19:43:13 +04:00
src/vmm_mad/remotes/xen/poll \
2011-09-16 01:16:13 +04:00
src/vmm_mad/remotes/xen/poll_ganglia \
2010-08-30 15:00:11 +04:00
src/vmm_mad/remotes/xen/shutdown"
2010-08-24 18:44:42 +04:00
2011-11-29 19:37:01 +04:00
#-------------------------------------------------------------------------------
# VMM Driver VMWARE scripts, to be installed under $REMOTES_LOCATION/vmm/vmware
#-------------------------------------------------------------------------------
VMM_EXEC_VMWARE_SCRIPTS = " src/vmm_mad/remotes/vmware/cancel \
src/vmm_mad/remotes/vmware/deploy \
src/vmm_mad/remotes/vmware/migrate \
src/vmm_mad/remotes/vmware/restore \
2011-12-26 03:22:52 +04:00
src/vmm_mad/remotes/vmware/reboot \
2012-05-17 19:49:54 +04:00
src/vmm_mad/remotes/vmware/reset \
2011-11-29 19:37:01 +04:00
src/vmm_mad/remotes/vmware/save \
src/vmm_mad/remotes/vmware/poll \
src/vmm_mad/remotes/vmware/checkpoint \
2011-12-26 03:33:01 +04:00
src/vmm_mad/remotes/vmware/shutdown \
src/vmm_mad/remotes/vmware/vmware_driver.rb"
2011-11-29 19:37:01 +04:00
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
2011-07-28 05:43:50 +04:00
# Information Manager Probes, to be installed under $REMOTES_LOCATION/im
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
2010-08-30 15:00:11 +04:00
IM_PROBES_FILES = "src/im_mad/remotes/run_probes"
2010-08-19 20:58:00 +04:00
2011-11-29 19:37:01 +04:00
IM_PROBES_KVM_FILES = " src/im_mad/remotes/kvm.d/kvm.rb \
src/im_mad/remotes/kvm.d/architecture.sh \
src/im_mad/remotes/kvm.d/cpu.sh \
src/im_mad/remotes/kvm.d/name.sh"
2010-10-05 18:09:34 +04:00
IM_PROBES_XEN_FILES = " src/im_mad/remotes/xen.d/xen.rb \
2011-11-29 19:37:01 +04:00
src/im_mad/remotes/xen.d/architecture.sh \
src/im_mad/remotes/xen.d/cpu.sh \
src/im_mad/remotes/xen.d/name.sh"
2010-08-19 20:58:00 +04:00
2011-11-29 19:37:01 +04:00
IM_PROBES_VMWARE_FILES = "src/im_mad/remotes/vmware.d/vmware.rb"
2010-08-19 20:58:00 +04:00
2011-02-10 21:29:35 +03:00
IM_PROBES_GANGLIA_FILES = "src/im_mad/remotes/ganglia.d/ganglia_probe"
2011-07-28 05:43:50 +04:00
#-------------------------------------------------------------------------------
# Auth Manager drivers to be installed under $REMOTES_LOCATION/auth
#-------------------------------------------------------------------------------
2011-07-28 21:49:30 +04:00
2011-10-21 04:27:47 +04:00
AUTH_SERVER_CIPHER_FILES = "src/authm_mad/remotes/server_cipher/authenticate"
2011-10-24 19:24:42 +04:00
AUTH_SERVER_X509_FILES = "src/authm_mad/remotes/server_x509/authenticate"
2011-08-25 19:52:22 +04:00
2011-08-19 05:13:50 +04:00
AUTH_X509_FILES = "src/authm_mad/remotes/x509/authenticate"
2011-11-29 20:02:43 +04:00
AUTH_LDAP_FILES = "src/authm_mad/remotes/ldap/authenticate"
2011-07-28 05:43:50 +04:00
AUTH_SSH_FILES = "src/authm_mad/remotes/ssh/authenticate"
2009-01-02 17:58:51 +03:00
2011-07-28 21:49:30 +04:00
AUTH_DUMMY_FILES = "src/authm_mad/remotes/dummy/authenticate"
2011-07-28 14:39:40 +04:00
AUTH_PLAIN_FILES = "src/authm_mad/remotes/plain/authenticate"
2011-11-15 15:44:50 +04:00
#-------------------------------------------------------------------------------
# Virtual Network Manager drivers to be installed under $REMOTES_LOCATION/vnm
#-------------------------------------------------------------------------------
NETWORK_FILES = " src/vnm_mad/remotes/OpenNebulaNetwork.rb \
2011-12-02 20:37:49 +04:00
src/vnm_mad/remotes/Firewall.rb \
src/vnm_mad/remotes/OpenNebulaNic.rb"
2011-11-15 15:44:50 +04:00
NETWORK_8021Q_FILES = " src/vnm_mad/remotes/802.1Q/clean \
src/vnm_mad/remotes/802.1Q/post \
src/vnm_mad/remotes/802.1Q/pre \
src/vnm_mad/remotes/802.1Q/HostManaged.rb"
NETWORK_DUMMY_FILES = " src/vnm_mad/remotes/dummy/clean \
src/vnm_mad/remotes/dummy/post \
src/vnm_mad/remotes/dummy/pre"
NETWORK_EBTABLES_FILES = " src/vnm_mad/remotes/ebtables/clean \
src/vnm_mad/remotes/ebtables/post \
src/vnm_mad/remotes/ebtables/pre \
src/vnm_mad/remotes/ebtables/Ebtables.rb"
2011-12-02 20:37:49 +04:00
NETWORK_FW_FILES = " src/vnm_mad/remotes/fw/post \
src/vnm_mad/remotes/fw/pre \
src/vnm_mad/remotes/fw/clean"
2011-11-15 15:44:50 +04:00
NETWORK_OVSWITCH_FILES = " src/vnm_mad/remotes/ovswitch/clean \
src/vnm_mad/remotes/ovswitch/post \
src/vnm_mad/remotes/ovswitch/pre \
src/vnm_mad/remotes/ovswitch/OpenvSwitch.rb"
2012-01-05 15:44:00 +04:00
NETWORK_VMWARE_FILES = " src/vnm_mad/remotes/vmware/clean \
src/vnm_mad/remotes/vmware/post \
src/vnm_mad/remotes/vmware/pre \
src/vnm_mad/remotes/vmware/VMware.rb"
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Transfer Manager commands, to be installed under $LIB_LOCATION/tm_commands
2012-02-29 01:52:48 +04:00
# - SHARED TM, $VAR_LOCATION/tm/shared
2012-03-23 23:26:53 +04:00
# - QCOW2 TM, $VAR_LOCATION/tm/qcow2
2012-02-29 01:52:48 +04:00
# - SSH TM, $VAR_LOCATION/tm/ssh
2012-04-04 13:13:39 +04:00
# - DUMMY TM, $VAR_LOCATION/tm/dummy
# - VMWARE TM, $VAR_LOCATION/tm/vmware
# - ISCSI TM, $VAR_LOCATION/tm/iscsi
2012-04-24 18:34:48 +04:00
# - LVM TM, $VAR_LOCATION/tm/lvm
2012-02-29 01:52:48 +04:00
#-------------------------------------------------------------------------------
TM_FILES = "src/tm_mad/tm_common.sh"
TM_SHARED_FILES = " src/tm_mad/shared/clone \
src/tm_mad/shared/delete \
src/tm_mad/shared/ln \
src/tm_mad/shared/mkswap \
src/tm_mad/shared/mkimage \
src/tm_mad/shared/mv \
2012-03-06 19:30:05 +04:00
src/tm_mad/shared/context \
src/tm_mad/shared/mvds"
2012-02-29 01:52:48 +04:00
2012-03-23 23:26:53 +04:00
TM_QCOW2_FILES = " src/tm_mad/qcow2/clone \
src/tm_mad/qcow2/delete \
src/tm_mad/qcow2/ln \
src/tm_mad/qcow2/mkswap \
src/tm_mad/qcow2/mkimage \
src/tm_mad/qcow2/mv \
src/tm_mad/qcow2/context \
src/tm_mad/qcow2/mvds"
2012-02-29 01:52:48 +04:00
TM_SSH_FILES = " src/tm_mad/ssh/clone \
src/tm_mad/ssh/delete \
src/tm_mad/ssh/ln \
src/tm_mad/ssh/mkswap \
src/tm_mad/ssh/mkimage \
src/tm_mad/ssh/mv \
2012-03-06 19:30:05 +04:00
src/tm_mad/ssh/context \
2012-03-07 01:25:22 +04:00
src/tm_mad/ssh/mvds"
2012-02-29 01:52:48 +04:00
TM_DUMMY_FILES = " src/tm_mad/dummy/clone \
src/tm_mad/dummy/delete \
src/tm_mad/dummy/ln \
src/tm_mad/dummy/mkswap \
src/tm_mad/dummy/mkimage \
src/tm_mad/dummy/mv \
2012-03-14 20:12:10 +04:00
src/tm_mad/dummy/context \
src/tm_mad/dummy/mvds"
2012-02-29 01:52:48 +04:00
TM_VMWARE_FILES = " src/tm_mad/vmware/clone \
2012-03-21 21:28:54 +04:00
src/tm_mad/vmware/delete
2012-02-29 01:52:48 +04:00
src/tm_mad/vmware/ln \
2012-03-21 21:28:54 +04:00
src/tm_mad/vmware/mkswap \
src/tm_mad/vmware/mkimage \
2012-02-29 01:52:48 +04:00
src/tm_mad/vmware/mv \
2012-03-21 21:28:54 +04:00
src/tm_mad/vmware/context \
src/tm_mad/vmware/mvds"
2011-11-29 19:37:01 +04:00
2012-03-13 15:08:36 +04:00
TM_ISCSI_FILES = " src/tm_mad/iscsi/clone \
src/tm_mad/iscsi/ln \
src/tm_mad/iscsi/mv \
src/tm_mad/iscsi/mvds \
src/tm_mad/iscsi/delete"
2012-04-24 18:34:48 +04:00
TM_LVM_FILES = " src/tm_mad/lvm/clone \
src/tm_mad/lvm/ln \
src/tm_mad/lvm/mv \
src/tm_mad/lvm/mvds \
src/tm_mad/lvm/delete"
2011-03-22 20:21:09 +03:00
#-------------------------------------------------------------------------------
2012-02-19 05:08:03 +04:00
# Datastore drivers, to be installed under $REMOTES_LOCATION/datastore
2012-04-24 18:34:48 +04:00
# - Dummy Image Repository, $REMOTES_LOCATION/datastore/dummy
2012-02-19 05:08:03 +04:00
# - FS based Image Repository, $REMOTES_LOCATION/datastore/fs
2012-02-20 23:10:30 +04:00
# - VMware based Image Repository, $REMOTES_LOCATION/datastore/vmware
2012-04-24 18:34:48 +04:00
# - iSCSI based Image Repository, $REMOTES_LOCATION/datastore/iscsi
# - LVM based Image Repository, $REMOTES_LOCATION/datastore/lvm
2011-03-22 20:21:09 +03:00
#-------------------------------------------------------------------------------
2011-12-19 15:48:37 +04:00
2012-02-19 05:08:03 +04:00
DATASTORE_DRIVER_COMMON_SCRIPTS = " src/datastore_mad/remotes/xpath.rb \
src/datastore_mad/remotes/libfs.sh"
2011-03-22 20:21:09 +03:00
2012-03-14 15:20:06 +04:00
DATASTORE_DRIVER_DUMMY_SCRIPTS = " src/datastore_mad/remotes/dummy/cp \
src/datastore_mad/remotes/dummy/mkfs \
2012-06-01 15:55:01 +04:00
src/datastore_mad/remotes/dummy/stat \
2012-03-14 15:20:06 +04:00
src/datastore_mad/remotes/dummy/rm"
2012-02-19 05:08:03 +04:00
DATASTORE_DRIVER_FS_SCRIPTS = " src/datastore_mad/remotes/fs/cp \
src/datastore_mad/remotes/fs/mkfs \
2012-06-01 15:55:01 +04:00
src/datastore_mad/remotes/fs/stat \
2012-02-19 05:08:03 +04:00
src/datastore_mad/remotes/fs/rm"
2011-06-07 21:03:32 +04:00
2012-02-20 23:10:30 +04:00
DATASTORE_DRIVER_VMWARE_SCRIPTS = " src/datastore_mad/remotes/vmware/cp \
src/datastore_mad/remotes/vmware/mkfs \
2012-06-01 15:55:01 +04:00
src/datastore_mad/remotes/vmware/stat \
2012-02-20 23:10:30 +04:00
src/datastore_mad/remotes/vmware/rm"
2012-03-07 15:42:21 +04:00
DATASTORE_DRIVER_ISCSI_SCRIPTS = " src/datastore_mad/remotes/iscsi/cp \
src/datastore_mad/remotes/iscsi/mkfs \
2012-06-01 15:55:01 +04:00
src/datastore_mad/remotes/iscsi/stat \
2012-03-07 15:42:21 +04:00
src/datastore_mad/remotes/iscsi/rm \
src/datastore_mad/remotes/iscsi/iscsi.conf"
2012-04-24 18:34:48 +04:00
DATASTORE_DRIVER_LVM_SCRIPTS = " src/datastore_mad/remotes/lvm/cp \
src/datastore_mad/remotes/lvm/mkfs \
2012-06-01 15:55:01 +04:00
src/datastore_mad/remotes/lvm/stat \
2012-04-24 18:34:48 +04:00
src/datastore_mad/remotes/lvm/rm \
src/datastore_mad/remotes/lvm/lvm.conf"
2011-04-29 20:59:39 +04:00
#-------------------------------------------------------------------------------
# Migration scripts for onedb command, to be installed under $LIB_LOCATION
#-------------------------------------------------------------------------------
2011-07-12 15:54:53 +04:00
ONEDB_MIGRATOR_FILES = " src/onedb/2.0_to_2.9.80.rb \
2011-09-05 19:49:42 +04:00
src/onedb/2.9.80_to_2.9.85.rb \
2011-09-23 18:56:55 +04:00
src/onedb/2.9.85_to_2.9.90.rb \
2011-10-17 20:06:22 +04:00
src/onedb/2.9.90_to_3.0.0.rb \
src/onedb/3.0.0_to_3.1.0.rb \
2011-12-05 23:04:07 +04:00
src/onedb/3.1.0_to_3.1.80.rb \
2012-01-12 15:27:08 +04:00
src/onedb/3.1.80_to_3.2.0.rb \
2012-01-25 21:45:28 +04:00
src/onedb/3.2.0_to_3.2.1.rb \
2012-02-09 21:13:55 +04:00
src/onedb/3.2.1_to_3.3.0.rb \
2012-03-08 22:17:30 +04:00
src/onedb/3.3.0_to_3.3.80.rb \
2012-04-09 15:03:35 +04:00
src/onedb/3.3.80_to_3.4.0.rb \
2012-05-04 17:25:48 +04:00
src/onedb/3.4.0_to_3.4.1.rb \
2012-05-09 19:34:14 +04:00
src/onedb/3.4.1_to_3.5.80.rb \
2011-06-16 21:40:21 +04:00
src/onedb/onedb.rb \
2011-10-07 17:02:31 +04:00
src/onedb/onedb_backend.rb"
2011-04-29 20:59:39 +04:00
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Configuration files for OpenNebula, to be installed under $ETC_LOCATION
#-------------------------------------------------------------------------------
ETC_FILES = " share/etc/oned.conf \
2011-07-12 16:00:02 +04:00
share/etc/defaultrc \
2011-12-15 04:19:05 +04:00
src/scheduler/etc/sched.conf \
2011-07-12 16:00:02 +04:00
src/cli/etc/group.default"
2009-01-02 17:58:51 +03:00
2011-11-29 19:37:01 +04:00
VMWARE_ETC_FILES = "src/vmm_mad/remotes/vmware/vmwarerc"
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Virtualization drivers config. files, to be installed under $ETC_LOCATION
# - ec2, $ETC_LOCATION/vmm_ec2
2011-06-01 20:57:47 +04:00
# - ssh, $ETC_LOCATION/vmm_exec
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
VMM_EC2_ETC_FILES = " src/vmm_mad/ec2/vmm_ec2rc \
src/vmm_mad/ec2/vmm_ec2.conf"
2011-06-01 20:57:47 +04:00
VMM_EXEC_ETC_FILES = " src/vmm_mad/exec/vmm_execrc \
src/vmm_mad/exec/vmm_exec_kvm.conf \
2011-11-29 19:37:01 +04:00
src/vmm_mad/exec/vmm_exec_xen.conf \
src/vmm_mad/exec/vmm_exec_vmware.conf"
2010-08-24 18:44:42 +04:00
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Information drivers config. files, to be installed under $ETC_LOCATION
# - ec2, $ETC_LOCATION/im_ec2
#-------------------------------------------------------------------------------
IM_EC2_ETC_FILES = " src/im_mad/ec2/im_ec2rc \
src/im_mad/ec2/im_ec2.conf"
2009-04-04 03:34:33 +04:00
#-------------------------------------------------------------------------------
# Hook Manager driver config. files, to be installed under $ETC_LOCATION/hm
#-------------------------------------------------------------------------------
HM_ETC_FILES = "src/hm_mad/hmrc"
2010-07-09 20:59:42 +04:00
#-------------------------------------------------------------------------------
2011-08-26 18:51:13 +04:00
# Auth Manager drivers config. files, to be installed under $ETC_LOCATION/auth
2010-07-09 20:59:42 +04:00
#-------------------------------------------------------------------------------
2011-10-24 19:24:42 +04:00
AUTH_ETC_FILES = " src/authm_mad/remotes/server_x509/server_x509_auth.conf \
2011-11-29 20:02:43 +04:00
src/authm_mad/remotes/ldap/ldap_auth.conf \
2011-08-30 20:04:53 +04:00
src/authm_mad/remotes/x509/x509_auth.conf"
2010-07-09 20:59:42 +04:00
2009-01-02 17:58:51 +03:00
#-------------------------------------------------------------------------------
# Sample files, to be installed under $SHARE_LOCATION/examples
#-------------------------------------------------------------------------------
EXAMPLE_SHARE_FILES = " share/examples/vm.template \
share/examples/private.net \
share/examples/public.net"
2009-07-21 14:45:54 +04:00
#-------------------------------------------------------------------------------
2011-06-07 21:03:32 +04:00
# HOOK scripts, to be installed under $VAR_LOCATION/remotes/hooks
#-------------------------------------------------------------------------------
2011-09-01 18:57:02 +04:00
HOOK_FT_FILES = "share/hooks/host_error.rb"
2011-06-07 21:03:32 +04:00
#-------------------------------------------------------------------------------
2011-11-15 15:44:50 +04:00
# Installation scripts, to be installed under $SHARE_LOCATION
2009-07-21 14:45:54 +04:00
#-------------------------------------------------------------------------------
2011-05-13 20:22:14 +04:00
INSTALL_NOVNC_SHARE_FILE = "share/install_novnc.sh"
2011-07-15 13:53:48 +04:00
INSTALL_GEMS_SHARE_FILE = "share/install_gems/install_gems"
2011-05-13 20:22:14 +04:00
2011-06-13 18:08:07 +04:00
#-------------------------------------------------------------------------------
# OCA Files
#-------------------------------------------------------------------------------
OCA_LIB_FILES = "src/oca/ruby/OpenNebula.rb"
RUBY_OPENNEBULA_LIB_FILES = " src/oca/ruby/OpenNebula/Host.rb \
src/oca/ruby/OpenNebula/HostPool.rb \
src/oca/ruby/OpenNebula/Pool.rb \
src/oca/ruby/OpenNebula/User.rb \
src/oca/ruby/OpenNebula/UserPool.rb \
src/oca/ruby/OpenNebula/VirtualMachine.rb \
src/oca/ruby/OpenNebula/VirtualMachinePool.rb \
src/oca/ruby/OpenNebula/VirtualNetwork.rb \
src/oca/ruby/OpenNebula/VirtualNetworkPool.rb \
src/oca/ruby/OpenNebula/Image.rb \
src/oca/ruby/OpenNebula/ImagePool.rb \
src/oca/ruby/OpenNebula/Template.rb \
src/oca/ruby/OpenNebula/TemplatePool.rb \
2012-06-08 20:37:45 +04:00
src/oca/ruby/OpenNebula/Document.rb \
src/oca/ruby/OpenNebula/DocumentPool.rb \
2011-06-17 14:30:54 +04:00
src/oca/ruby/OpenNebula/Group.rb \
src/oca/ruby/OpenNebula/GroupPool.rb \
2011-06-22 21:22:52 +04:00
src/oca/ruby/OpenNebula/Acl.rb \
2011-06-30 13:17:22 +04:00
src/oca/ruby/OpenNebula/AclPool.rb \
2012-02-09 21:55:18 +04:00
src/oca/ruby/OpenNebula/Datastore.rb \
src/oca/ruby/OpenNebula/DatastorePool.rb \
2012-02-24 18:53:53 +04:00
src/oca/ruby/OpenNebula/Cluster.rb \
src/oca/ruby/OpenNebula/ClusterPool.rb \
2011-11-15 20:53:43 +04:00
src/oca/ruby/OpenNebula/XMLUtils.rb"
2011-06-13 18:08:07 +04:00
2009-07-21 18:56:35 +04:00
#-------------------------------------------------------------------------------
2009-10-12 03:06:46 +04:00
# Common Cloud Files
2009-07-21 18:56:35 +04:00
#-------------------------------------------------------------------------------
2009-10-12 03:06:46 +04:00
COMMON_CLOUD_LIB_FILES = " src/cloud/common/CloudServer.rb \
2009-10-21 21:00:59 +04:00
src/cloud/common/CloudClient.rb \
2011-09-24 22:34:38 +04:00
src/cloud/common/CloudAuth.rb"
2009-07-23 16:01:47 +04:00
2009-10-22 15:20:27 +04:00
COMMON_CLOUD_CLIENT_LIB_FILES = "src/cloud/common/CloudClient.rb"
2011-10-25 17:41:27 +04:00
CLOUD_AUTH_LIB_FILES = " src/cloud/common/CloudAuth/OCCICloudAuth.rb \
2011-10-25 16:44:43 +04:00
src/cloud/common/CloudAuth/SunstoneCloudAuth.rb \
2011-09-21 20:59:13 +04:00
src/cloud/common/CloudAuth/EC2CloudAuth.rb \
2012-03-21 19:28:58 +04:00
src/cloud/common/CloudAuth/X509CloudAuth.rb \
src/cloud/common/CloudAuth/OpenNebulaCloudAuth.rb"
2011-09-21 20:59:13 +04:00
2009-10-12 03:06:46 +04:00
#-------------------------------------------------------------------------------
2010-07-11 22:39:10 +04:00
# EC2 Query for OpenNebula
2009-10-12 03:06:46 +04:00
#-------------------------------------------------------------------------------
ECO_LIB_FILES = " src/cloud/ec2/lib/EC2QueryClient.rb \
src/cloud/ec2/lib/EC2QueryServer.rb \
2010-07-16 21:12:25 +04:00
src/cloud/ec2/lib/ImageEC2.rb \
2012-03-28 18:45:13 +04:00
src/cloud/ec2/lib/elastic_ip.rb \
2009-10-12 03:06:46 +04:00
src/cloud/ec2/lib/econe-server.rb"
2009-10-22 15:20:27 +04:00
ECO_LIB_CLIENT_FILES = "src/cloud/ec2/lib/EC2QueryClient.rb"
2009-10-12 03:06:46 +04:00
ECO_LIB_VIEW_FILES = " src/cloud/ec2/lib/views/describe_images.erb \
src/cloud/ec2/lib/views/describe_instances.erb \
src/cloud/ec2/lib/views/register_image.erb \
src/cloud/ec2/lib/views/run_instances.erb \
2012-03-28 18:45:13 +04:00
src/cloud/ec2/lib/views/allocate_address.erb \
src/cloud/ec2/lib/views/associate_address.erb \
src/cloud/ec2/lib/views/disassociate_address.erb \
src/cloud/ec2/lib/views/describe_addresses.erb \
src/cloud/ec2/lib/views/release_address.erb \
2009-10-12 03:06:46 +04:00
src/cloud/ec2/lib/views/terminate_instances.erb"
2009-07-21 18:56:35 +04:00
2009-10-12 03:06:46 +04:00
ECO_BIN_FILES = " src/cloud/ec2/bin/econe-server \
src/cloud/ec2/bin/econe-describe-images \
src/cloud/ec2/bin/econe-describe-instances \
src/cloud/ec2/bin/econe-register \
src/cloud/ec2/bin/econe-run-instances \
src/cloud/ec2/bin/econe-terminate-instances \
2012-03-29 20:58:56 +04:00
src/cloud/ec2/bin/econe-describe-addresses \
src/cloud/ec2/bin/econe-allocate-address \
src/cloud/ec2/bin/econe-release-address \
src/cloud/ec2/bin/econe-associate-address \
src/cloud/ec2/bin/econe-disassociate-address \
2009-10-12 03:06:46 +04:00
src/cloud/ec2/bin/econe-upload"
2009-07-21 18:56:35 +04:00
2009-10-22 15:20:27 +04:00
ECO_BIN_CLIENT_FILES = " src/cloud/ec2/bin/econe-describe-images \
src/cloud/ec2/bin/econe-describe-instances \
src/cloud/ec2/bin/econe-register \
src/cloud/ec2/bin/econe-run-instances \
src/cloud/ec2/bin/econe-terminate-instances \
2012-03-29 20:58:56 +04:00
src/cloud/ec2/bin/econe-describe-addresses \
src/cloud/ec2/bin/econe-allocate-address \
src/cloud/ec2/bin/econe-release-address \
src/cloud/ec2/bin/econe-associate-address \
src/cloud/ec2/bin/econe-disassociate-address \
2009-10-22 15:20:27 +04:00
src/cloud/ec2/bin/econe-upload"
2009-10-12 03:06:46 +04:00
ECO_ETC_FILES = "src/cloud/ec2/etc/econe.conf"
ECO_ETC_TEMPLATE_FILES = "src/cloud/ec2/etc/templates/m1.small.erb"
2009-07-21 18:56:35 +04:00
2009-10-19 21:35:50 +04:00
#-----------------------------------------------------------------------------
2009-09-03 22:10:55 +04:00
# OCCI files
2009-10-19 21:35:50 +04:00
#-----------------------------------------------------------------------------
2009-09-03 22:10:55 +04:00
2009-10-20 06:01:57 +04:00
OCCI_LIB_FILES = " src/cloud/occi/lib/OCCIServer.rb \
2009-10-19 21:35:50 +04:00
src/cloud/occi/lib/occi-server.rb \
src/cloud/occi/lib/OCCIClient.rb \
2009-09-03 22:10:55 +04:00
src/cloud/occi/lib/VirtualMachineOCCI.rb \
src/cloud/occi/lib/VirtualMachinePoolOCCI.rb \
src/cloud/occi/lib/VirtualNetworkOCCI.rb \
2009-10-15 21:37:25 +04:00
src/cloud/occi/lib/VirtualNetworkPoolOCCI.rb \
2011-10-25 17:41:27 +04:00
src/cloud/occi/lib/UserOCCI.rb \
src/cloud/occi/lib/UserPoolOCCI.rb \
2009-10-15 21:37:25 +04:00
src/cloud/occi/lib/ImageOCCI.rb \
2012-02-13 18:55:11 +04:00
src/cloud/occi/lib/ImagePoolOCCI.rb \
src/sunstone/OpenNebulaVNC.rb"
2009-09-03 22:10:55 +04:00
2009-10-22 15:20:27 +04:00
OCCI_LIB_CLIENT_FILES = "src/cloud/occi/lib/OCCIClient.rb"
2009-10-12 03:06:46 +04:00
OCCI_BIN_FILES = " src/cloud/occi/bin/occi-server \
src/cloud/occi/bin/occi-compute \
src/cloud/occi/bin/occi-network \
2012-03-30 12:50:00 +04:00
src/cloud/occi/bin/occi-instance-type \
2009-10-12 03:06:46 +04:00
src/cloud/occi/bin/occi-storage"
2009-09-03 22:10:55 +04:00
2009-10-22 15:20:27 +04:00
OCCI_BIN_CLIENT_FILES = " src/cloud/occi/bin/occi-compute \
src/cloud/occi/bin/occi-network \
2012-03-30 12:50:00 +04:00
src/cloud/occi/bin/occi-instance-type \
2009-10-22 15:20:27 +04:00
src/cloud/occi/bin/occi-storage"
2009-10-12 03:06:46 +04:00
OCCI_ETC_FILES = "src/cloud/occi/etc/occi-server.conf"
2009-09-03 22:10:55 +04:00
2010-11-30 14:52:30 +03:00
OCCI_ETC_TEMPLATE_FILES = " src/cloud/occi/etc/templates/common.erb \
2010-12-02 21:19:01 +03:00
src/cloud/occi/etc/templates/custom.erb \
2010-11-30 14:52:30 +03:00
src/cloud/occi/etc/templates/small.erb \
2009-10-12 03:06:46 +04:00
src/cloud/occi/etc/templates/medium.erb \
2011-12-08 06:39:52 +04:00
src/cloud/occi/etc/templates/network.erb \
2009-10-12 03:06:46 +04:00
src/cloud/occi/etc/templates/large.erb"
2009-07-21 18:56:35 +04:00
2011-02-10 17:57:11 +03:00
#-----------------------------------------------------------------------------
# CLI files
#-----------------------------------------------------------------------------
2011-06-13 18:08:07 +04:00
CLI_LIB_FILES = " src/cli/cli_helper.rb \
src/cli/command_parser.rb \
src/cli/one_helper.rb"
ONE_CLI_LIB_FILES = " src/cli/one_helper/onegroup_helper.rb \
src/cli/one_helper/onehost_helper.rb \
src/cli/one_helper/oneimage_helper.rb \
src/cli/one_helper/onetemplate_helper.rb \
2012-06-11 19:26:01 +04:00
src/cli/one_helper/onequota_helper.rb \
2011-06-13 18:08:07 +04:00
src/cli/one_helper/oneuser_helper.rb \
src/cli/one_helper/onevm_helper.rb \
2011-06-30 13:17:22 +04:00
src/cli/one_helper/onevnet_helper.rb \
2012-02-09 21:55:18 +04:00
src/cli/one_helper/oneacl_helper.rb \
2012-02-24 18:53:53 +04:00
src/cli/one_helper/onedatastore_helper.rb \
src/cli/one_helper/onecluster_helper.rb"
2011-02-10 17:57:11 +03:00
CLI_BIN_FILES = " src/cli/onevm \
src/cli/onehost \
src/cli/onevnet \
src/cli/oneuser \
src/cli/oneimage \
2011-05-10 20:45:15 +04:00
src/cli/onetemplate \
2011-06-22 21:22:52 +04:00
src/cli/onegroup \
2012-02-09 21:55:18 +04:00
src/cli/oneacl \
2012-02-24 18:53:53 +04:00
src/cli/onedatastore \
src/cli/onecluster"
2011-02-10 17:57:11 +03:00
2011-06-13 18:08:07 +04:00
CLI_CONF_FILES = " src/cli/etc/onegroup.yaml \
src/cli/etc/onehost.yaml \
src/cli/etc/oneimage.yaml \
src/cli/etc/onetemplate.yaml \
src/cli/etc/oneuser.yaml \
src/cli/etc/onevm.yaml \
2011-06-30 13:17:22 +04:00
src/cli/etc/onevnet.yaml \
2012-02-09 21:55:18 +04:00
src/cli/etc/oneacl.yaml \
2012-02-24 18:53:53 +04:00
src/cli/etc/onedatastore.yaml \
2012-06-01 18:30:27 +04:00
src/cli/etc/onecluster.yaml \
src/cli/etc/oneacct.yaml"
2011-06-13 18:08:07 +04:00
2011-07-12 16:00:02 +04:00
ETC_CLIENT_FILES = "src/cli/etc/group.default"
2011-02-23 19:27:17 +03:00
#-----------------------------------------------------------------------------
# Sunstone files
#-----------------------------------------------------------------------------
2012-03-07 16:10:14 +04:00
SUNSTONE_FILES = " src/sunstone/sunstone-server.rb \
2012-01-30 15:16:14 +04:00
src/sunstone/OpenNebulaVNC.rb"
2011-02-23 19:27:17 +03:00
SUNSTONE_BIN_FILES = "src/sunstone/bin/sunstone-server"
2011-06-17 13:43:53 +04:00
SUNSTONE_ETC_FILES = " src/sunstone/etc/sunstone-server.conf \
src/sunstone/etc/sunstone-plugins.yaml"
2011-05-13 20:01:40 +04:00
2011-02-23 19:27:17 +03:00
SUNSTONE_MODELS_FILES = " src/sunstone/models/OpenNebulaJSON.rb \
2011-06-17 13:43:53 +04:00
src/sunstone/models/SunstoneServer.rb \
src/sunstone/models/SunstonePlugins.rb"
2011-02-23 19:27:17 +03:00
2011-06-14 01:43:40 +04:00
SUNSTONE_MODELS_JSON_FILES = " src/sunstone/models/OpenNebulaJSON/HostJSON.rb \
2011-02-23 19:27:17 +03:00
src/sunstone/models/OpenNebulaJSON/ImageJSON.rb \
2011-06-14 02:01:27 +04:00
src/sunstone/models/OpenNebulaJSON/GroupJSON.rb \
2011-02-23 19:27:17 +03:00
src/sunstone/models/OpenNebulaJSON/JSONUtils.rb \
src/sunstone/models/OpenNebulaJSON/PoolJSON.rb \
src/sunstone/models/OpenNebulaJSON/UserJSON.rb \
src/sunstone/models/OpenNebulaJSON/VirtualMachineJSON.rb \
2011-05-12 14:01:12 +04:00
src/sunstone/models/OpenNebulaJSON/TemplateJSON.rb \
2011-07-22 18:28:07 +04:00
src/sunstone/models/OpenNebulaJSON/AclJSON.rb \
2012-03-09 00:33:07 +04:00
src/sunstone/models/OpenNebulaJSON/ClusterJSON.rb \
2012-03-10 20:47:15 +04:00
src/sunstone/models/OpenNebulaJSON/DatastoreJSON.rb \
2011-02-23 19:27:17 +03:00
src/sunstone/models/OpenNebulaJSON/VirtualNetworkJSON.rb"
2011-09-23 17:20:19 +04:00
SUNSTONE_TEMPLATE_FILES = " src/sunstone/templates/login.html \
src/sunstone/templates/login_x509.html"
2011-06-14 16:27:15 +04:00
SUNSTONE_VIEWS_FILES = "src/sunstone/views/index.erb"
2011-02-23 19:27:17 +03:00
SUNSTONE_PUBLIC_JS_FILES = " src/sunstone/public/js/layout.js \
src/sunstone/public/js/login.js \
2011-04-11 21:37:01 +04:00
src/sunstone/public/js/sunstone.js \
src/sunstone/public/js/sunstone-util.js \
2011-12-01 22:25:17 +04:00
src/sunstone/public/js/opennebula.js \
2012-06-06 02:00:31 +04:00
src/sunstone/public/js/monitoring.js \
2011-12-01 22:25:17 +04:00
src/sunstone/public/js/locale.js"
2011-02-23 19:27:17 +03:00
2011-04-11 21:37:01 +04:00
SUNSTONE_PUBLIC_JS_PLUGINS_FILES = " \
2011-07-07 21:13:05 +04:00
src/sunstone/public/js/plugins/dashboard-tab.js \
src/sunstone/public/js/plugins/dashboard-users-tab.js \
src/sunstone/public/js/plugins/hosts-tab.js \
2012-03-09 00:33:07 +04:00
src/sunstone/public/js/plugins/clusters-tab.js \
2012-03-10 20:47:15 +04:00
src/sunstone/public/js/plugins/datastores-tab.js \
2012-03-14 19:15:05 +04:00
src/sunstone/public/js/plugins/system-tab.js \
src/sunstone/public/js/plugins/vresources-tab.js \
2012-03-17 02:16:23 +04:00
src/sunstone/public/js/plugins/infra-tab.js \
2011-07-07 21:13:05 +04:00
src/sunstone/public/js/plugins/groups-tab.js \
src/sunstone/public/js/plugins/images-tab.js \
src/sunstone/public/js/plugins/templates-tab.js \
src/sunstone/public/js/plugins/users-tab.js \
src/sunstone/public/js/plugins/vms-tab.js \
2011-07-22 18:28:07 +04:00
src/sunstone/public/js/plugins/acls-tab.js \
2011-12-30 22:21:13 +04:00
src/sunstone/public/js/plugins/vnets-tab.js \
src/sunstone/public/js/plugins/config-tab.js"
2011-04-11 21:37:01 +04:00
2011-02-23 19:27:17 +03:00
SUNSTONE_PUBLIC_CSS_FILES = " src/sunstone/public/css/application.css \
src/sunstone/public/css/layout.css \
src/sunstone/public/css/login.css"
2011-02-28 18:37:42 +03:00
SUNSTONE_PUBLIC_VENDOR_DATATABLES = " \
src/sunstone/public/vendor/dataTables/jquery.dataTables.min.js \
2012-04-18 14:03:39 +04:00
src/sunstone/public/vendor/dataTables/ColVis.min.js \
src/sunstone/public/vendor/dataTables/ColReorderWithResize.js \
2011-02-28 18:37:42 +03:00
src/sunstone/public/vendor/dataTables/demo_table_jui.css \
2012-04-18 14:03:39 +04:00
src/sunstone/public/vendor/dataTables/ColVis.css \
2011-02-28 18:37:42 +03:00
src/sunstone/public/vendor/dataTables/BSD-LICENSE.txt \
src/sunstone/public/vendor/dataTables/NOTICE"
SUNSTONE_PUBLIC_VENDOR_JGROWL = " \
src/sunstone/public/vendor/jGrowl/jquery.jgrowl_minimized.js \
src/sunstone/public/vendor/jGrowl/jquery.jgrowl.css \
src/sunstone/public/vendor/jGrowl/NOTICE"
SUNSTONE_PUBLIC_VENDOR_JQUERY = " \
2012-04-18 14:03:39 +04:00
src/sunstone/public/vendor/jQuery/jquery-1.7.2.min.js \
2011-02-28 18:37:42 +03:00
src/sunstone/public/vendor/jQuery/MIT-LICENSE.txt \
src/sunstone/public/vendor/jQuery/NOTICE"
SUNSTONE_PUBLIC_VENDOR_JQUERYUI = " \
2011-11-29 15:36:16 +04:00
src/sunstone/public/vendor/jQueryUI/jquery-ui-1.8.16.custom.css \
2011-02-28 18:37:42 +03:00
src/sunstone/public/vendor/jQueryUI/MIT-LICENSE.txt \
2011-11-29 15:36:16 +04:00
src/sunstone/public/vendor/jQueryUI/jquery-ui-1.8.16.custom.min.js \
2011-02-28 18:37:42 +03:00
src/sunstone/public/vendor/jQueryUI/NOTICE \
"
2011-11-29 15:36:16 +04:00
SUNSTONE_PUBLIC_VENDOR_JQUERYUIIMAGES = " \
src/sunstone/public/vendor/jQueryUI/images/ui-bg_flat_0_aaaaaa_40x100.png \
src/sunstone/public/vendor/jQueryUI/images/ui-bg_flat_75_ffffff_40x100.png \
src/sunstone/public/vendor/jQueryUI/images/ui-bg_glass_55_fbf9ee_1x400.png \
src/sunstone/public/vendor/jQueryUI/images/ui-bg_glass_65_ffffff_1x400.png \
src/sunstone/public/vendor/jQueryUI/images/ui-bg_glass_75_dadada_1x400.png \
src/sunstone/public/vendor/jQueryUI/images/ui-bg_glass_75_e6e6e6_1x400.png \
src/sunstone/public/vendor/jQueryUI/images/ui-bg_glass_95_fef1ec_1x400.png \
src/sunstone/public/vendor/jQueryUI/images/ui-bg_highlight-soft_75_cccccc_1x100.png \
src/sunstone/public/vendor/jQueryUI/images/ui-icons_222222_256x240.png \
src/sunstone/public/vendor/jQueryUI/images/ui-icons_2e83ff_256x240.png \
src/sunstone/public/vendor/jQueryUI/images/ui-icons_454545_256x240.png \
src/sunstone/public/vendor/jQueryUI/images/ui-icons_888888_256x240.png \
src/sunstone/public/vendor/jQueryUI/images/ui-icons_cd0a0a_256x240.png \
"
2011-02-28 18:37:42 +03:00
SUNSTONE_PUBLIC_VENDOR_JQUERYLAYOUT = " \
src/sunstone/public/vendor/jQueryLayout/layout-default-latest.css \
2011-11-29 15:36:16 +04:00
src/sunstone/public/vendor/jQueryLayout/jquery.layout-latest.min.js \
2011-02-28 18:37:42 +03:00
src/sunstone/public/vendor/jQueryLayout/NOTICE"
2011-02-23 19:27:17 +03:00
2011-06-16 19:51:21 +04:00
SUNSTONE_PUBLIC_VENDOR_FLOT = " \
src/sunstone/public/vendor/flot/jquery.flot.min.js \
src/sunstone/public/vendor/flot/jquery.flot.navigate.min.js \
2012-06-06 02:00:31 +04:00
src/sunstone/public/vendor/flot/jquery.flot.pie.min.js \
2011-06-16 19:51:21 +04:00
src/sunstone/public/vendor/flot/LICENSE.txt \
src/sunstone/public/vendor/flot/NOTICE \
src/sunstone/public/vendor/flot/README.txt"
2012-01-02 21:54:40 +04:00
SUNSTONE_PUBLIC_VENDOR_CRYPTOJS = " \
src/sunstone/public/vendor/crypto-js/NOTICE \
src/sunstone/public/vendor/crypto-js/2.3.0-crypto-sha1.js \
src/sunstone/public/vendor/crypto-js/NEW-BSD-LICENSE.txt"
SUNSTONE_PUBLIC_VENDOR_FILEUPLOADER = " \
src/sunstone/public/vendor/fileuploader/NOTICE \
src/sunstone/public/vendor/fileuploader/fileuploader.js"
SUNSTONE_PUBLIC_VENDOR_XML2JSON = " \
src/sunstone/public/vendor/xml2json/NOTICE \
src/sunstone/public/vendor/xml2json/jquery.xml2json.pack.js"
2012-06-03 01:28:27 +04:00
SUNSTONE_PUBLIC_VENDOR_FONTAWESOME = " \
src/sunstone/public/vendor/FontAwesome/NOTICE \
"
SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_CSS = " \
src/sunstone/public/vendor/FontAwesome/css/font-awesome.css \
"
SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_FONT = " \
src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.eot \
src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.woff \
src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.ttf \
src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.svgz \
src/sunstone/public/vendor/FontAwesome/font/fontawesome-webfont.svg \
"
2011-02-23 19:27:17 +03:00
SUNSTONE_PUBLIC_IMAGES_FILES = " src/sunstone/public/images/ajax-loader.gif \
src/sunstone/public/images/login_over.png \
src/sunstone/public/images/login.png \
src/sunstone/public/images/opennebula-sunstone-big.png \
src/sunstone/public/images/opennebula-sunstone-small.png \
src/sunstone/public/images/panel.png \
2011-09-23 17:20:19 +04:00
src/sunstone/public/images/panel_short.png \
2011-02-23 19:27:17 +03:00
src/sunstone/public/images/pbar.gif \
2011-05-14 04:23:05 +04:00
src/sunstone/public/images/Refresh-icon.png \
2011-12-07 13:08:27 +04:00
src/sunstone/public/images/red_bullet.png \
src/sunstone/public/images/yellow_bullet.png \
src/sunstone/public/images/green_bullet.png \
2011-05-14 04:23:05 +04:00
src/sunstone/public/images/vnc_off.png \
2012-04-20 16:47:06 +04:00
src/sunstone/public/images/vnc_on.png \
src/sunstone/public/images/network_icon.png \
src/sunstone/public/images/system_icon.png \
src/sunstone/public/images/server_icon.png \
"
2012-01-05 15:44:00 +04:00
2011-12-02 20:55:26 +04:00
SUNSTONE_PUBLIC_LOCALE_EN_US = " \
2012-05-24 16:43:43 +04:00
src/sunstone/locale/languages/en_US.js \
src/sunstone/locale/languages/en_datatable.txt \
2011-12-02 20:55:26 +04:00
"
2011-12-01 22:25:17 +04:00
SUNSTONE_PUBLIC_LOCALE_RU = "
2012-05-24 16:43:43 +04:00
src/sunstone/locale/languages/ru.js \
src/sunstone/locale/languages/ru_datatable.txt"
2011-12-01 22:25:17 +04:00
2012-03-29 14:24:03 +04:00
SUNSTONE_PUBLIC_LOCALE_IT_IT = "
2012-05-24 16:43:43 +04:00
src/sunstone/locale/languages/it_IT.js \
src/sunstone/locale/languages/it_datatable.txt"
2012-03-29 14:24:03 +04:00
2012-04-13 14:38:13 +04:00
SUNSTONE_PUBLIC_LOCALE_PT_PT = "
2012-05-24 16:43:43 +04:00
src/sunstone/locale/languages/pt_PT.js \
src/sunstone/locale/languages/pt_datatable.txt"
2012-04-13 14:38:13 +04:00
2012-05-15 19:28:42 +04:00
SUNSTONE_PUBLIC_LOCALE_FR_FR = "
2012-05-24 16:43:43 +04:00
src/sunstone/locale/languages/fr_FR.js \
src/sunstone/locale/languages/fr_datatable.txt"
2011-12-02 20:37:49 +04:00
2011-07-14 17:50:34 +04:00
#-----------------------------------------------------------------------------
# Ozones files
#-----------------------------------------------------------------------------
2012-03-07 16:10:14 +04:00
OZONES_FILES = "src/ozones/Server/ozones-server.rb"
2011-07-14 17:50:34 +04:00
OZONES_BIN_FILES = "src/ozones/Server/bin/ozones-server"
OZONES_ETC_FILES = "src/ozones/Server/etc/ozones-server.conf"
OZONES_MODELS_FILES = " src/ozones/Server/models/OzonesServer.rb \
src/ozones/Server/models/Auth.rb \
2011-09-12 20:15:07 +04:00
src/sunstone/models/OpenNebulaJSON/JSONUtils.rb"
2011-12-02 20:37:49 +04:00
2011-07-14 17:50:34 +04:00
OZONES_TEMPLATE_FILES = " src/ozones/Server/templates/index.html \
src/ozones/Server/templates/login.html"
2011-12-02 20:37:49 +04:00
2011-07-14 17:50:34 +04:00
OZONES_LIB_FILES = "src/ozones/Server/lib/OZones.rb"
OZONES_LIB_ZONE_FILES = " src/ozones/Server/lib/OZones/Zones.rb \
src/ozones/Server/lib/OZones/VDC.rb \
src/ozones/Server/lib/OZones/ProxyRules.rb \
src/ozones/Server/lib/OZones/ApacheWritter.rb \
src/ozones/Server/lib/OZones/AggregatedHosts.rb \
src/ozones/Server/lib/OZones/AggregatedUsers.rb \
src/ozones/Server/lib/OZones/AggregatedVirtualMachines.rb \
src/ozones/Server/lib/OZones/AggregatedVirtualNetworks.rb \
src/ozones/Server/lib/OZones/AggregatedPool.rb \
src/ozones/Server/lib/OZones/AggregatedImages.rb \
2012-03-29 21:23:43 +04:00
src/ozones/Server/lib/OZones/AggregatedDatastores.rb \
src/ozones/Server/lib/OZones/AggregatedClusters.rb \
2011-07-14 17:50:34 +04:00
src/ozones/Server/lib/OZones/AggregatedTemplates.rb"
2011-12-02 20:37:49 +04:00
2011-10-17 03:45:00 +04:00
OZONES_LIB_API_FILES = "src/ozones/Client/lib/zona.rb"
OZONES_LIB_API_ZONA_FILES = " src/ozones/Client/lib/zona/ZoneElement.rb \
src/ozones/Client/lib/zona/OZonesPool.rb \
src/ozones/Client/lib/zona/OZonesJSON.rb \
src/ozones/Client/lib/zona/VDCPool.rb \
src/ozones/Client/lib/zona/VDCElement.rb \
src/ozones/Client/lib/zona/OZonesElement.rb \
src/ozones/Client/lib/zona/ZonePool.rb"
2011-10-11 17:24:19 +04:00
2011-07-14 17:50:34 +04:00
OZONES_PUBLIC_VENDOR_JQUERY = $SUNSTONE_PUBLIC_VENDOR_JQUERY
2011-12-02 20:37:49 +04:00
2011-07-14 17:50:34 +04:00
OZONES_PUBLIC_VENDOR_DATATABLES = $SUNSTONE_PUBLIC_VENDOR_DATATABLES
OZONES_PUBLIC_VENDOR_JGROWL = $SUNSTONE_PUBLIC_VENDOR_JGROWL
OZONES_PUBLIC_VENDOR_JQUERYUI = $SUNSTONE_PUBLIC_VENDOR_JQUERYUI
2011-11-29 15:36:16 +04:00
OZONES_PUBLIC_VENDOR_JQUERYUIIMAGES = $SUNSTONE_PUBLIC_VENDOR_JQUERYUIIMAGES
2011-07-14 17:50:34 +04:00
OZONES_PUBLIC_VENDOR_JQUERYLAYOUT = $SUNSTONE_PUBLIC_VENDOR_JQUERYLAYOUT
2011-12-02 20:37:49 +04:00
2012-06-03 01:28:27 +04:00
OZONES_PUBLIC_VENDOR_FONTAWESOME = $SUNSTONE_PUBLIC_VENDOR_FONTAWESOME
OZONES_PUBLIC_VENDOR_FONTAWESOME_FONT = $SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_FONT
OZONES_PUBLIC_VENDOR_FONTAWESOME_CSS = $SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_CSS
2011-07-14 17:50:34 +04:00
OZONES_PUBLIC_JS_FILES = " src/ozones/Server/public/js/ozones.js \
src/ozones/Server/public/js/login.js \
src/ozones/Server/public/js/ozones-util.js \
src/sunstone/public/js/layout.js \
src/sunstone/public/js/sunstone.js \
2011-12-01 22:25:17 +04:00
src/sunstone/public/js/sunstone-util.js \
src/sunstone/public/js/locale.js"
2012-01-05 15:44:00 +04:00
2011-07-14 17:50:34 +04:00
OZONES_PUBLIC_CSS_FILES = " src/ozones/Server/public/css/application.css \
src/ozones/Server/public/css/layout.css \
src/ozones/Server/public/css/login.css"
2011-12-02 20:37:49 +04:00
2011-07-14 17:50:34 +04:00
OZONES_PUBLIC_IMAGES_FILES = " src/ozones/Server/public/images/panel.png \
src/ozones/Server/public/images/login.png \
src/ozones/Server/public/images/login_over.png \
src/ozones/Server/public/images/Refresh-icon.png \
src/ozones/Server/public/images/ajax-loader.gif \
src/ozones/Server/public/images/opennebula-zones-small.png \
src/ozones/Server/public/images/opennebula-zones-big.png \
src/ozones/Server/public/images/pbar.gif"
OZONES_PUBLIC_JS_PLUGINS_FILES = " src/ozones/Server/public/js/plugins/zones-tab.js \
src/ozones/Server/public/js/plugins/vdcs-tab.js \
src/ozones/Server/public/js/plugins/aggregated-tab.js \
src/ozones/Server/public/js/plugins/dashboard-tab.js"
2011-12-02 20:37:49 +04:00
OZONES_LIB_CLIENT_CLI_FILES = "src/ozones/Client/lib/cli/ozones_helper.rb"
2011-07-14 17:50:34 +04:00
OZONES_LIB_CLIENT_CLI_HELPER_FILES = " \
src/ozones/Client/lib/cli/ozones_helper/vdc_helper.rb \
2011-12-02 20:37:49 +04:00
src/ozones/Client/lib/cli/ozones_helper/zones_helper.rb"
2011-07-14 17:50:34 +04:00
2011-07-18 19:09:47 +04:00
OZONES_BIN_CLIENT_FILES = " src/ozones/Client/bin/onevdc \
src/ozones/Client/bin/onezone"
2011-12-02 20:37:49 +04:00
2011-07-14 17:50:34 +04:00
OZONES_RUBY_LIB_FILES = "src/oca/ruby/OpenNebula.rb"
2011-02-23 19:27:17 +03:00
2012-01-02 21:54:40 +04:00
#-----------------------------------------------------------------------------
# Self-Service files
#-----------------------------------------------------------------------------
SELF_SERVICE_TEMPLATE_FILES = "src/cloud/occi/lib/ui/templates/login.html"
SELF_SERVICE_VIEWS_FILES = "src/cloud/occi/lib/ui/views/index.erb"
SELF_SERVICE_PUBLIC_JS_FILES = " src/cloud/occi/lib/ui/public/js/layout.js \
src/cloud/occi/lib/ui/public/js/occi.js \
src/cloud/occi/lib/ui/public/js/locale.js \
src/cloud/occi/lib/ui/public/js/login.js \
src/sunstone/public/js/sunstone.js \
src/sunstone/public/js/sunstone-util.js"
SELF_SERVICE_PUBLIC_JS_PLUGINS_FILES = " src/cloud/occi/lib/ui/public/js/plugins/compute.js \
src/cloud/occi/lib/ui/public/js/plugins/configuration.js \
src/cloud/occi/lib/ui/public/js/plugins/dashboard.js \
src/cloud/occi/lib/ui/public/js/plugins/network.js \
src/cloud/occi/lib/ui/public/js/plugins/storage.js"
SELF_SERVICE_PUBLIC_CSS_FILES = " src/cloud/occi/lib/ui/public/css/application.css \
src/cloud/occi/lib/ui/public/css/layout.css \
src/cloud/occi/lib/ui/public/css/login.css"
2012-01-05 15:44:00 +04:00
SELF_SERVICE_PUBLIC_CUSTOMIZE_FILES = "src/cloud/occi/lib/ui/public/customize/custom.js"
2012-01-02 21:54:40 +04:00
SELF_SERVICE_PUBLIC_VENDOR_DATATABLES = $SUNSTONE_PUBLIC_VENDOR_DATATABLES
SELF_SERVICE_PUBLIC_VENDOR_JGROWL = $SUNSTONE_PUBLIC_VENDOR_JGROWL
SELF_SERVICE_PUBLIC_VENDOR_JQUERY = $SUNSTONE_PUBLIC_VENDOR_JQUERY
SELF_SERVICE_PUBLIC_VENDOR_JQUERYUI = $SUNSTONE_PUBLIC_VENDOR_JQUERYUI
SELF_SERVICE_PUBLIC_VENDOR_JQUERYUIIMAGES = $SUNSTONE_PUBLIC_VENDOR_JQUERYUIIMAGES
SELF_SERVICE_PUBLIC_VENDOR_JQUERYLAYOUT = $SUNSTONE_PUBLIC_VENDOR_JQUERYLAYOUT
SELF_SERVICE_PUBLIC_VENDOR_FLOT = $SUNSTONE_PUBLIC_VENDOR_FLOT
SELF_SERVICE_PUBLIC_VENDOR_CRYPTOJS = $SUNSTONE_PUBLIC_VENDOR_CRYPTOJS
SELF_SERVICE_PUBLIC_VENDOR_FILEUPLOADER = $SUNSTONE_PUBLIC_VENDOR_FILEUPLOADER
SELF_SERVICE_PUBLIC_VENDOR_XML2JSON = $SUNSTONE_PUBLIC_VENDOR_XML2JSON
2012-06-03 01:28:27 +04:00
SELF_SERVICE_PUBLIC_VENDOR_FONTAWESOME = $SUNSTONE_PUBLIC_VENDOR_FONTAWESOME
SELF_SERVICE_PUBLIC_VENDOR_FONTAWESOME_FONT = $SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_FONT
SELF_SERVICE_PUBLIC_VENDOR_FONTAWESOME_CSS = $SUNSTONE_PUBLIC_VENDOR_FONTAWESOME_CSS
2012-01-02 21:54:40 +04:00
SELF_SERVICE_PUBLIC_IMAGES_FILES = " \
src/cloud/occi/lib/ui/public/images/ajax-loader.gif \
src/cloud/occi/lib/ui/public/images/green_bullet.png \
src/cloud/occi/lib/ui/public/images/login_over.png \
src/cloud/occi/lib/ui/public/images/login.png \
src/cloud/occi/lib/ui/public/images/network_icon.png \
src/cloud/occi/lib/ui/public/images/one-compute.png \
src/cloud/occi/lib/ui/public/images/one-network.png \
src/cloud/occi/lib/ui/public/images/one-storage.png \
src/cloud/occi/lib/ui/public/images/opennebula-selfservice-big.png \
src/cloud/occi/lib/ui/public/images/opennebula-selfservice-icon.png \
src/cloud/occi/lib/ui/public/images/opennebula-selfservice-small.png \
src/cloud/occi/lib/ui/public/images/panel.png \
src/cloud/occi/lib/ui/public/images/panel_short.png \
src/cloud/occi/lib/ui/public/images/pbar.gif \
src/cloud/occi/lib/ui/public/images/red_bullet.png \
src/cloud/occi/lib/ui/public/images/Refresh-icon.png \
src/cloud/occi/lib/ui/public/images/server_icon.png \
src/cloud/occi/lib/ui/public/images/storage_icon.png \
src/cloud/occi/lib/ui/public/images/vnc_off.png \
src/cloud/occi/lib/ui/public/images/vnc_on.png \
src/cloud/occi/lib/ui/public/images/yellow_bullet.png"
2012-05-24 17:03:13 +04:00
SELF_SERVICE_PUBLIC_LOCALE_EN_US = "src/cloud/occi/lib/ui/locale/languages/en_US.js"
SELF_SERVICE_PUBLIC_LOCALE_ES_ES = " src/cloud/occi/lib/ui/locale/languages/es_ES.js \
src/cloud/occi/lib/ui/locale/languages/es_datatable.txt"
SELF_SERVICE_PUBLIC_LOCALE_FR_FR = " src/cloud/occi/lib/ui/locale/languages/fr_FR.js \
src/cloud/occi/lib/ui/locale/languages/fr_datatable.txt"
SELF_SERVICE_PUBLIC_LOCALE_FR_CA = " src/cloud/occi/lib/ui/locale/languages/fr_CA.js \
src/cloud/occi/lib/ui/locale/languages/fr_datatable.txt"
2012-01-02 21:54:40 +04:00
2010-10-14 19:24:01 +04:00
#-----------------------------------------------------------------------------
# MAN files
#-----------------------------------------------------------------------------
2011-05-17 14:26:52 +04:00
MAN_FILES = " share/man/oneauth.1.gz \
2011-07-15 18:53:34 +04:00
share/man/oneacl.1.gz \
2011-05-17 14:26:52 +04:00
share/man/onehost.1.gz \
share/man/oneimage.1.gz \
share/man/oneuser.1.gz \
share/man/onevm.1.gz \
share/man/onevnet.1.gz \
share/man/onetemplate.1.gz \
2011-07-19 15:09:45 +04:00
share/man/onegroup.1.gz \
2011-05-17 14:26:52 +04:00
share/man/onedb.1.gz \
2012-02-09 21:55:18 +04:00
share/man/onedatastore.1.gz \
2012-02-24 18:53:53 +04:00
share/man/onecluster.1.gz \
2011-05-17 14:26:52 +04:00
share/man/econe-describe-images.1.gz \
share/man/econe-describe-instances.1.gz \
share/man/econe-register.1.gz \
share/man/econe-run-instances.1.gz \
share/man/econe-terminate-instances.1.gz \
share/man/econe-upload.1.gz \
share/man/occi-compute.1.gz \
share/man/occi-network.1.gz \
2011-07-24 05:57:21 +04:00
share/man/occi-storage.1.gz \
share/man/onezone.1.gz \
share/man/onevdc.1.gz"
2010-10-14 19:24:01 +04:00
2009-10-19 21:35:50 +04:00
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
2009-01-02 17:58:51 +03:00
# INSTALL.SH SCRIPT
2009-10-19 21:35:50 +04:00
#-----------------------------------------------------------------------------
#-----------------------------------------------------------------------------
2009-01-02 17:58:51 +03:00
# --- Create OpenNebula directories ---
2010-07-11 22:39:10 +04:00
if [ " $UNINSTALL " = "no" ] ; then
2009-01-02 17:58:51 +03:00
for d in $MAKE_DIRS ; do
2009-01-19 19:40:46 +03:00
mkdir -p $DESTDIR $d
2009-01-02 17:58:51 +03:00
done
2012-03-02 15:05:45 +04:00
# Remove old migrators
2012-03-13 15:56:53 +04:00
rm $LIB_LOCATION /ruby/onedb/*.rb & > /dev/null
2009-01-02 17:58:51 +03:00
fi
2008-11-13 19:21:17 +03:00
2009-01-02 17:58:51 +03:00
# --- Install/Uninstall files ---
2008-12-02 18:52:03 +03:00
2009-01-02 17:58:51 +03:00
do_file( ) {
if [ " $UNINSTALL " = "yes" ] ; then
rm $2 /` basename $1 `
else
2009-08-27 21:25:39 +04:00
if [ " $LINK " = "yes" ] ; then
ln -s $SRC_DIR /$1 $DESTDIR $2
else
cp $SRC_DIR /$1 $DESTDIR $2
fi
2009-01-02 17:58:51 +03:00
fi
}
2008-12-02 18:52:03 +03:00
2009-09-25 22:18:50 +04:00
2011-02-23 19:27:17 +03:00
if [ " $CLIENT " = "yes" ] ; then
2011-02-10 17:57:11 +03:00
INSTALL_SET = ${ INSTALL_CLIENT_FILES [@] }
2011-02-23 19:27:17 +03:00
elif [ " $SUNSTONE " = "yes" ] ; then
2011-02-24 14:28:57 +03:00
INSTALL_SET = " ${ INSTALL_SUNSTONE_RUBY_FILES [@] } ${ INSTALL_SUNSTONE_FILES [@] } "
2011-07-14 17:50:34 +04:00
elif [ " $OZONES " = "yes" ] ; then
2011-12-02 20:37:49 +04:00
INSTALL_SET = " ${ INSTALL_OZONES_RUBY_FILES [@] } ${ INSTALL_OZONES_FILES [@] } "
2011-02-23 19:27:17 +03:00
else
2011-07-14 17:50:34 +04:00
INSTALL_SET = " ${ INSTALL_FILES [@] } ${ INSTALL_OZONES_FILES [@] } \
2012-01-02 21:54:40 +04:00
${ INSTALL_SUNSTONE_FILES [@] } ${ INSTALL_SELF_SERVICE_FILES [@] } "
2009-09-25 22:18:50 +04:00
fi
for i in ${ INSTALL_SET [@] } ; do
2009-01-02 17:58:51 +03:00
SRC = $` echo $i | cut -d: -f1`
DST = ` echo $i | cut -d: -f2`
2010-07-11 22:39:10 +04:00
eval SRC_FILES = $SRC
for f in $SRC_FILES ; do
2009-01-02 17:58:51 +03:00
do_file $f $DST
done
done
2008-11-13 19:21:17 +03:00
2011-02-23 19:27:17 +03:00
if [ " $INSTALL_ETC " = "yes" ] ; then
2011-06-21 19:15:55 +04:00
if [ " $SUNSTONE " = "yes" ] ; then
INSTALL_ETC_SET = " ${ INSTALL_SUNSTONE_ETC_FILES [@] } "
2011-09-07 14:27:34 +04:00
elif [ " $OZONES " = "yes" ] ; then
INSTALL_ETC_SET = " ${ INSTALL_OZONES_ETC_FILES [@] } "
2011-06-21 19:15:55 +04:00
else
INSTALL_ETC_SET = " ${ INSTALL_ETC_FILES [@] } \
2011-09-07 14:27:34 +04:00
${ INSTALL_SUNSTONE_ETC_FILES [@] } \
${ INSTALL_OZONES_ETC_FILES [@] } "
2011-06-21 19:15:55 +04:00
fi
for i in ${ INSTALL_ETC_SET [@] } ; do
2009-01-02 17:58:51 +03:00
SRC = $` echo $i | cut -d: -f1`
DST = ` echo $i | cut -d: -f2`
2010-07-11 22:39:10 +04:00
2009-08-27 21:25:39 +04:00
eval SRC_FILES = $SRC
2010-07-11 22:39:10 +04:00
2009-08-27 21:25:39 +04:00
OLD_LINK = $LINK
LINK = "no"
2010-07-11 22:39:10 +04:00
for f in $SRC_FILES ; do
2009-01-02 17:58:51 +03:00
do_file $f $DST
done
2010-07-11 22:39:10 +04:00
2009-08-27 21:25:39 +04:00
LINK = $OLD_LINK
2009-01-02 17:58:51 +03:00
done
fi
2008-06-17 20:27:32 +04:00
2009-01-02 17:58:51 +03:00
# --- Set ownership or remove OpenNebula directories ---
2008-12-02 19:16:20 +03:00
2010-07-11 22:39:10 +04:00
if [ " $UNINSTALL " = "no" ] ; then
2009-01-19 19:40:46 +03:00
for d in $CHOWN_DIRS ; do
2009-10-21 19:48:46 +04:00
chown -R $ONEADMIN_USER :$ONEADMIN_GROUP $DESTDIR $d
2009-01-19 19:40:46 +03:00
done
2009-01-02 17:58:51 +03:00
else
2009-05-07 19:23:13 +04:00
for d in ` echo $DELETE_DIRS | awk '{for (i=NF;i>=1;i--) printf $i" "}' ` ; do
2009-01-02 17:58:51 +03:00
rmdir $d
done
fi