Cleanup network configure
-
install_arch
supports both DHCP and static networking -
common
only supports static networking -
install_arch
always enablesystemd-resolved
-
common
only enablessystemd-resolved
if a local recursive resolver isn't configured - If static networking is configured but no
dns_servers
is providedsystemd-resolved
use the fallback DNS servers -
monitoring.archlinux.org
is 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