mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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
This commit is contained in:
parent
f341246888
commit
e983246cd4
@ -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|/*$||'`
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user