Disable Avahi because it conflicts with Dnsmasq
This commit is contained in:
parent
3e6194e65f
commit
51bb2f04fa
@ -144,6 +144,13 @@ function stop_networking_services {
|
|||||||
systemctl stop ${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 {
|
function ensure_predictable_network_interfaces {
|
||||||
echo "Ensuring predictable networking interfaces ..."
|
echo "Ensuring predictable networking interfaces ..."
|
||||||
|
|
||||||
@ -391,6 +398,7 @@ function run_installation {
|
|||||||
|
|
||||||
install_networking_packages
|
install_networking_packages
|
||||||
stop_networking_services
|
stop_networking_services
|
||||||
|
disable_avahi_service
|
||||||
ensure_predictable_network_interfaces
|
ensure_predictable_network_interfaces
|
||||||
configure_network_interfaces
|
configure_network_interfaces
|
||||||
configure_dnsmasq
|
configure_dnsmasq
|
||||||
|
Loading…
Reference in New Issue
Block a user