using bash templating to create /root/.my.cnf