Re: [Spacewalk-list] Kickstart post install

2016-03-30 Thread Neil Hanlon
Have you ensured that mariadb is running when you're trying to run these commands? This is also something you should be doing with *some* sort of configuration management--not a post install script. Lachlan Musicman Wednesday, March 30, 2016 1:55 AM In one particu

[Spacewalk-list] Kickstart post install

2016-03-29 Thread Lachlan Musicman
In one particular profile, I'll be installing MariaDB. I'd like to create a db, user, and then secure MariaDB during the post-install stage. My post install script looks like this: %post --log /root/ks-post.log.5 #!/bin/bash /usr/bin/mysql -e "create database slurmdb; grant all privileges on slu