Cleanup network configure
-
install_archsupports both DHCP and static networking -
commononly supports static networking -
install_archalways enablesystemd-resolved -
commononly enablessystemd-resolvedif a local recursive resolver isn't configured - If static networking is configured but no
dns_serversis providedsystemd-resolveduse the fallback DNS servers -
monitoring.archlinux.orgis configured with both DHCP and static networking
In other words: it is a mess..
Idea: We should move the network logic to its own role and include that role in install_arch and common.
We can also look at the device type instead of the name, as archiso is doing: archiso@8a521d0b
Edited by Kristian Klausen