tests: Disable core dumps

They don't get copied out of the VM anyway, and we rather investigate
them upstream where test VMs are accessible.
This commit is contained in:
Martin Pitt 2020-04-06 18:42:07 +02:00
parent 9d79a2b83b
commit 21edca3e02

View File

@ -15,6 +15,9 @@ if ! id admin 2>/dev/null; then
echo admin:foobar | chpasswd
fi
# disable core dumps, we rather investigate them upstream where test VMs are accessible
echo core > /proc/sys/kernel/core_pattern
# make sure that we can access cockpit through the firewall
systemctl start firewalld
firewall-cmd --add-service=cockpit --permanent