From 7ed8ba0f2b66e223ad48d626504ab899766e463b Mon Sep 17 00:00:00 2001 From: Dan Theisen Date: Fri, 22 Jul 2022 01:14:23 -0700 Subject: [PATCH] [#2503] Remove skip-networking from Alpine mariadb configuration in hammer --- hammer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hammer.py b/hammer.py index 2b72ed956d..e5ca772a85 100755 --- a/hammer.py +++ b/hammer.py @@ -1214,6 +1214,7 @@ ssl_key = {cert_dir}/kea-client.key execute(cmd, raise_error=False) elif system == 'alpine': + execute('sudo sed -i "/^skip-networking$/d" /etc/my.cnf.d/mariadb-server.cnf') execute('sudo rc-update add mariadb') execute('sudo /etc/init.d/mariadb setup', raise_error=False) execute('sudo /etc/init.d/mariadb restart')