Hi,

I am dockering with cloudstack.

I need to update the db.properties file to set the db password and host to 
something other than localhost.
the host is actually in a env variable.

I can do it with a dirty hack like this:

sed -i "s/db.root.password=/db.root.password=$MYSQL_ENV_MYSQL_ROOT_PASSWORD/" 
utils/conf/db.properties

what's the best practice to change those db properties at "runtime" ?

thx,

-sebastien

Reply via email to