Repository: cloudstack
Updated Branches:
  refs/heads/master f65dec4b0 -> fa56b3f37


this query had no -P port specified so did not work


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

Branch: refs/heads/master
Commit: ee9b644e28f8c1bab6afb94311054f2cd2f2e3d9
Parents: 8a1e79f
Author: Remi Bergsma <[email protected]>
Authored: Tue Aug 11 14:43:17 2015 +0200
Committer: Remi Bergsma <[email protected]>
Committed: Tue Aug 11 14:51:11 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/ee9b644e/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 2c4ea36..89f386a 100755
--- a/scripts/storage/secondary/cloud-install-sys-tmplt
+++ b/scripts/storage/secondary/cloud-install-sys-tmplt
@@ -193,7 +193,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\", 
url=\"$url\" where id=\"$templateId\""`)
+_res=(`mysql -P $dbPort -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|/*$||'`
 

Reply via email to