cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastien Goasguen <>
Subject setting files
Date Tue, 09 Dec 2014 12:56:48 GMT

I am dockering with cloudstack.

I need to update the 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/

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


View raw message