Skip to content

Commit

Permalink
Networking: set proper hook location for extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Jun 22, 2024
1 parent 1341c19 commit 5b61bf9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion extensions/network/net-chrony.sh
Original file line number Diff line number Diff line change
@@ -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
}
2 changes: 1 addition & 1 deletion extensions/network/net-network-manager.sh
Original file line number Diff line number Diff line change
@@ -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

Expand Down
2 changes: 1 addition & 1 deletion extensions/network/net-systemd-neworkd.sh
Original file line number Diff line number Diff line change
@@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion extensions/network/net-systemd-timesyncd.sh
Original file line number Diff line number Diff line change
@@ -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
}
Expand Down

0 comments on commit 5b61bf9

Please sign in to comment.