Skip to content

Commit 2fd18bd

Browse files
committed
dont use fixed version
Signed-off-by: Abhishek Kumar <[email protected]>
1 parent 0833a64 commit 2fd18bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/conf/server.properties.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ extensions.deployment.mode=@EXTENSIONSDEPLOYMENTMODE@
6666
# The URL prefix for the system VM templates repository. When downloading system VM templates, the server replaces the
6767
# `downloadrepository` key value from the metadata file in template URLs. If not specified, the original template URL
6868
# will be for download.
69-
# system.vm.templates.download.repository=http://download.cloudstack.org/systemvm/4.20/
69+
# system.vm.templates.download.repository=http://download.cloudstack.org/systemvm/

engine/schema/templateConfig.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function getTemplateVersion() {
2727
export CS_VERSION="${subversion1}"."${subversion2}"
2828
export CS_MINOR_VERSION="${minorversion}"
2929
export VERSION="${CS_VERSION}.${CS_MINOR_VERSION}"
30-
export CS_SYSTEMTEMPLATE_REPO="https://download.cloudstack.org/systemvm/${CS_VERSION}/"
30+
export CS_SYSTEMTEMPLATE_REPO="https://download.cloudstack.org/systemvm/"
3131
}
3232

3333
function getGenericName() {
@@ -95,7 +95,7 @@ declare -A template_specs=(
9595

9696
templates=()
9797
for key in "${!template_specs[@]}"; do
98-
url="${CS_SYSTEMTEMPLATE_REPO}/systemvmtemplate-$VERSION-${template_specs[$key]}"
98+
url="${CS_SYSTEMTEMPLATE_REPO}/${CS_VERSION}/systemvmtemplate-$VERSION-${template_specs[$key]}"
9999
templates+=("$key:$url")
100100
done
101101

0 commit comments

Comments
 (0)