Networking: set proper hook location for extensions
This commit is contained in:
parent
75ce67f329
commit
e797126638
@ -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
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user