Merge "Enable some serivce when on boot"
This commit is contained in:
commit
ddeaaf2044
@ -154,6 +154,7 @@ EOF
|
||||
fi
|
||||
elif is_fedora; then
|
||||
install_package mariadb-server
|
||||
sudo systemctl enable mariadb
|
||||
elif is_ubuntu; then
|
||||
install_package mysql-server
|
||||
else
|
||||
|
@ -101,6 +101,9 @@ EOF
|
||||
install_package postgresql
|
||||
elif is_fedora || is_suse; then
|
||||
install_package postgresql-server
|
||||
if is_fedora; then
|
||||
sudo systemctl enable postgresql-server
|
||||
fi
|
||||
else
|
||||
exit_distro_not_supported "postgresql installation"
|
||||
fi
|
||||
|
@ -67,6 +67,7 @@ function _neutron_ovs_base_install_agent_packages {
|
||||
restart_service openvswitch-switch
|
||||
elif is_fedora; then
|
||||
restart_service openvswitch
|
||||
sudo systemctl enable openvswitch
|
||||
elif is_suse; then
|
||||
restart_service openvswitch-switch
|
||||
fi
|
||||
|
@ -48,6 +48,9 @@ function install_rpc_backend {
|
||||
# Install rabbitmq-server
|
||||
install_package rabbitmq-server
|
||||
fi
|
||||
if is_fedora; then
|
||||
sudo systemctl enable rabbitmq-server
|
||||
fi
|
||||
}
|
||||
|
||||
# restart the rpc backend
|
||||
|
Loading…
Reference in New Issue
Block a user