From e303eee8e6edd8dda9f6dd25b59dbdfeaa435275 Mon Sep 17 00:00:00 2001 From: Abhinandan Prateek Date: Mon, 6 Mar 2017 10:34:16 +0530 Subject: [PATCH] CLOUDSTACK-9828: GetDomRVersionCommand fails to get the correct version as output Fix tries to return the output as a single command, instead of appending output from two commands --- .../debian/config/opt/cloud/bin/get_template_version.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/systemvm/patches/debian/config/opt/cloud/bin/get_template_version.sh b/systemvm/patches/debian/config/opt/cloud/bin/get_template_version.sh index 996e9dd5ce5..53bdde30aa7 100755 --- a/systemvm/patches/debian/config/opt/cloud/bin/get_template_version.sh +++ b/systemvm/patches/debian/config/opt/cloud/bin/get_template_version.sh @@ -42,5 +42,6 @@ then exit fi -echo -n `cat /etc/cloudstack-release`'&' -cat /var/cache/cloud/cloud-scripts-signature +release=`cat /etc/cloudstack-release` +sig=`cat /var/cache/cloud/cloud-scripts-signature` +echo "${release}&${sig}"