- 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)
14 lines
369 B
Bash
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"
|
|
|
|
}
|