armbian-build/extensions/network/net-ifupdown2.sh
ColorfulRhino 497c6dce0e extension: net: Refactor, fix and improve network extensions
- Rename extensions with "net-*" prefix
- Put the extensions into their own folder
- Split off time sync packages into their own extensions to be able to be used separately
- Put their config files into directories instead of using inline `cat <<- EOF >`
- Move some other NetworkManager related stuff into the extension
- Remove unneeded steps
- Install iproute2 by default on all images (for the `ip` command)
2024-06-20 19:59:52 +02:00

14 lines
369 B
Bash

#
# Extension for ifupdown2
#
function add_host_dependencies__install_ifupdown2() {
display_alert "Adding Netplan to systemd-networkd" "systemd-timesyncd" "info"
add_packages_to_rootfs ifupdown2 iproute2 bridge-utils vlan
}
function pre_install_kernel_debs__configure_systemd_networkd()
{
display_alert "${EXTENSION}: enabling ifupdown2" "" "info"
}