Skip to content

Commit 34b7288

Browse files
Harikrishna Patnalakishankavala
authored andcommitted
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.
1 parent efc9632 commit 34b7288

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎tools/appliance/build.sh‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,10 @@ function create_definition() {
250250
if [ "${appliance}" != "${appliance_build_name}" ]; then
251251
cp -r "definitions/${appliance}" "definitions/${appliance_build_name}"
252252
set +e
253+
if [ ! -z "${version}" ]; then
253254
sed ${sed_regex_option} -i -e "s/^CLOUDSTACK_RELEASE=.+/CLOUDSTACK_RELEASE=${version}/" \
254255
"definitions/${appliance_build_name}/configure_systemvm_services.sh"
256+
fi
255257
if [ ! -z "${ssh_key}" ]; then
256258
# ssh key lines can contain /
257259
sed ${sed_regex_option} -i -e "s|^key=.+|key=\"${ssh_key}\"|" \

‎tools/appliance/definitions/systemvmtemplate/configure_systemvm_services.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
set -e
2020
set -x
2121

22-
CLOUDSTACK_RELEASE=4.4.0
22+
CLOUDSTACK_RELEASE=4.5.0
2323

2424
function configure_apache2() {
2525
# Enable ssl, rewrite and auth

0 commit comments

Comments
 (0)