Browse Source
Disable Avahi because it conflicts with Dnsmasq
master
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
8 additions and
0 deletions
-
bibliotecha.sh
|
@ -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 |
|
|