Disable Avahi because it conflicts with Dnsmasq

This commit is contained in:
Luke Murphy 2019-07-09 12:52:04 +02:00
parent 3e6194e65f
commit 51bb2f04fa
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -144,6 +144,13 @@ function stop_networking_services {
systemctl stop ${services}
}
function disable_avahi_service {
echo "Disable the avahi service ..."
systemctl stop avahi-daemon
systemctl disable avahi-daemon
}
function ensure_predictable_network_interfaces {
echo "Ensuring predictable networking interfaces ..."
@ -391,6 +398,7 @@ function run_installation {
install_networking_packages
stop_networking_services
disable_avahi_service
ensure_predictable_network_interfaces
configure_network_interfaces
configure_dnsmasq