blob: b12cbb6f6e9def8c2241619c514c4da6f205e145 [file] [log] [blame]
#!/bin/bash -xe
# stop and disable services, for healthy zerodisk
# They should be enabled after cfg01 init
stop_services="postgresql.service salt-api salt-master salt-minion jenkins maas-rackd.service maas-regiond.service maas-dhcpd.service maas-dhcpd6.service bind9"
for s in ${stop_services} ; do
systemctl stop ${s} || true
systemctl disable ${s} || true
done
echo 3 > /proc/sys/vm/drop_caches
sync