CLOUDSTACK-7748: Cloudstack version number is missing in system vm template. /etc/cloudstack-release in system vm does not have version number which leads in vm deployment failure while checking router version.

This commit is contained in:
Harikrishna Patnala 2014-10-17 16:58:04 +05:30 committed by Kishan Kavala
parent efc9632c1b
commit 34b7288ca4
2 changed files with 3 additions and 1 deletions

View File

@ -250,8 +250,10 @@ function create_definition() {
if [ "${appliance}" != "${appliance_build_name}" ]; then
cp -r "definitions/${appliance}" "definitions/${appliance_build_name}"
set +e
if [ ! -z "${version}" ]; then
sed ${sed_regex_option} -i -e "s/^CLOUDSTACK_RELEASE=.+/CLOUDSTACK_RELEASE=${version}/" \
"definitions/${appliance_build_name}/configure_systemvm_services.sh"
fi
if [ ! -z "${ssh_key}" ]; then
# ssh key lines can contain /
sed ${sed_regex_option} -i -e "s|^key=.+|key=\"${ssh_key}\"|" \

View File

@ -19,7 +19,7 @@
set -e
set -x
CLOUDSTACK_RELEASE=4.4.0
CLOUDSTACK_RELEASE=4.5.0
function configure_apache2() {
# Enable ssl, rewrite and auth