### Trying to set the limit to "2" from "5" --- doesn't work
sed -i 's/installonly_limit=5/installonly_limit=2/g' /etc/yum.conf
It doesn't change
Trying to install a MariaDB repo file and then install MariaDB, doesn't work:
### Trying to do yum -y update --- doesn't work
repo --name=updates
Code: Select all
%post
yum update -y
### Trying to install MariaDB Repo --- doesn't work
Code: Select all
%post
/usr/bin/curl -sS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash
Code: Select all
%post
yum install MariaDB-server MariaDB-client
### Trying to install phpMyAdmin --- doesn't work
[code]%post
yum install phpMyAdmin
-y
Code: Select all
%post
systemctl enable mariadb
systemctl start mariadb