Commit bae6cddc authored by David Johnson's avatar David Johnson

Do not enable the openstack-slothd service by default.

parent 6b9863fc
......@@ -4235,8 +4235,10 @@ StandardError=journal+console
WantedBy=multi-user.target
EOF
if [ $ENABLE_OPENSTACK_SLOTHD -eq 1 ]; then
systemctl enable openstack-slothd.service
systemctl restart openstack-slothd.service
fi
else
cat <<EOF >/etc/init/openstack-slothd.conf
# openstack-slothd - Cloudlab OpenStack Resource Usage Collector
......@@ -4262,8 +4264,11 @@ end script
exec /root/setup/openstack-slothd.py &
EOF
if [ $ENABLE_OPENSTACK_SLOTHD -eq 1 ]; then
service openstack-slothd enable
service openstack-slothd start
fi
fi
RANDPASSSTRING=""
......
......@@ -117,6 +117,9 @@ LINUXBRIDGE_STATIC=0
# control net DNS server). The local domain will also be searched prior
# to the cluster's domain.
USE_DESIGNATE_AS_RESOLVER=1
# We are not currently using the ceilometer stats, and they do not work
# as of Pike due to the switch to Gnocchi as the measurement DB.
ENABLE_OPENSTACK_SLOTHD=0
# The input OpenStack release, if any, from profile params.
OSRELEASE=""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment