...
|
...
|
@@ -318,6 +318,9 @@ mysql-server-5.1 mysql-server/root_password_again password $MYSQL_PASS
|
318
|
318
|
mysql-server-5.1 mysql-server/start_on_boot boolean true
|
319
|
319
|
MYSQL_PRESEED
|
320
|
320
|
|
|
321
|
+ # while ``.my.cnf`` is not needed for openstack to function, it is useful
|
|
322
|
+ # as it allows you to access the mysql databases via ``mysql nova`` instead
|
|
323
|
+ # of having to specify the username/password each time.
|
321
|
324
|
if [[ ! -e $HOME/.my.cnf ]]; then
|
322
|
325
|
cat <<EOF >$HOME/.my.cnf
|
323
|
326
|
[client]
|