Skip to content

Commit ee9b644

Browse files
committed
this query had no -P port specified so did not work
1 parent 8a1e79f commit ee9b644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/storage/secondary/cloud-install-sys-tmplt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ fi
193193
_uuid=$(uuidgen)
194194
localfile=$_uuid.$ext
195195

196-
_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\""`)
196+
_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\""`)
197197

198198
mntpoint=`echo "$mntpoint" | sed 's|/*$||'`
199199

0 commit comments

Comments
 (0)