mirror of https://github.com/apache/cloudstack.git
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:
parent
efc9632c1b
commit
34b7288ca4
|
|
@ -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}\"|" \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue