cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject [21/50] [abbrv] git commit: updated refs/heads/feature/vpc-ipv6 to 6140db5
Date Mon, 08 Jun 2015 09:45:42 GMT
Set the url accordingly when installing a system vm template

The script that installs the system vm templates sets the uuid column
for the template being installed, however it does not set the respective
url column. This commit changes that.

Signed-off-by: Remi Bergsma <apache@remi.nl>

This closes #348


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/e983246c
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/e983246c
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/e983246c

Branch: refs/heads/feature/vpc-ipv6
Commit: e983246cd4caa91f5d6bc86b7f211682694d4972
Parents: f341246
Author: miguelaferreira <miguelferreira@me.com>
Authored: Tue Jun 2 14:23:31 2015 +0200
Committer: Remi Bergsma <apache@remi.nl>
Committed: Tue Jun 2 16:00:15 2015 +0200

----------------------------------------------------------------------
 scripts/storage/secondary/cloud-install-sys-tmplt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/e983246c/scripts/storage/secondary/cloud-install-sys-tmplt
----------------------------------------------------------------------
diff --git a/scripts/storage/secondary/cloud-install-sys-tmplt b/scripts/storage/secondary/cloud-install-sys-tmplt
index 25a7dae..fe700d3 100755
--- a/scripts/storage/secondary/cloud-install-sys-tmplt
+++ b/scripts/storage/secondary/cloud-install-sys-tmplt
@@ -184,7 +184,7 @@ fi
 _uuid=$(uuidgen)
 localfile=$_uuid.$ext
 
-_res=(`mysql -h $dbHost --user=$dbUser --password=$dbPassword --skip-column-names -U cloud
-e "update cloud.vm_template set uuid=\"$_uuid\" where id=\"$templateId\""`)
+_res=(`mysql -h $dbHost --user=$dbUser --password=$dbPassword --skip-column-names -U cloud
-e "update cloud.vm_template set uuid=\"$_uuid\", url=\"$url\" where id=\"$templateId\""`)
 
 mntpoint=`echo "$mntpoint" | sed 's|/*$||'`
 


Mime
View raw message