Networking: set proper hook location for extensions

This commit is contained in:
Igor Pecovnik 2024-06-22 16:17:00 +02:00 committed by Ricardo Pardini
parent 75ce67f329
commit e797126638
4 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
#
# Extension to manage network time synchronization with Chrony
#
function add_host_dependencies__install_chrony() {
function extension_prepare_config__install_chrony() {
display_alert "Extension: ${EXTENSION}: Installing additional packages" "chrony" "info"
add_packages_to_image chrony
}

View File

@ -1,7 +1,7 @@
#
# Extension to manage network interfaces with NetworkManager + Netplan
#
function add_host_dependencies__install_network_manager() {
function extension_prepare_config__install_network_manager() {
display_alert "Extension: ${EXTENSION}: Installing additional packages" "network-manager network-manager-openvpn netplan.io" "info"
add_packages_to_image network-manager network-manager-openvpn netplan.io

View File

@ -1,7 +1,7 @@
#
# Extension to manage network interfaces with systemd-networkd + Netplan
#
function add_host_dependencies__install_systemd_networkd() {
function extension_prepare_config__install_systemd_networkd() {
display_alert "Extension: ${EXTENSION}: Installing additional packages" "netplan.io" "info"
add_packages_to_image netplan.io
}

View File

@ -1,7 +1,7 @@
#
# Extension to manage network time synchronization with systemd-timesyncd
#
function add_host_dependencies__install_systemd-timesyncd() {
function extension_prepare_config__install_systemd-timesyncd() {
display_alert "Extension: ${EXTENSION}: Installing additional packages" "systemd-timesyncd" "info"
add_packages_to_image systemd-timesyncd
}