blob: 89cd6e76dbe60e19cce154b3464ceb1529783d0a [file] [log] [blame]
azvyagintsev29410ee2018-07-12 20:02:30 +03001#!/bin/bash -xe
2
3# stop and disable services, for healthy zerodisk
4# They should be enabled after cfg01 init
5stop_services="postgresql.service salt-api salt-master salt-minion jenkins maas-rackd.service maas-regiond.service bind9"
6for s in ${stop_services} ; do
7 systemctl stop ${s} || true
8 systemctl disable ${s} || true
9done
10
11echo 3 > /proc/sys/vm/drop_caches
12sync