Skip to content

Commit e8639d3

Browse files
committed
fix(ns-ha): prevent conntrackd config sync
The conntrackd configuration file was overwritten by the sync process: the daemon could not start due to invalid configuration
1 parent 3df4f96 commit e8639d3

File tree

1 file changed

+2
-1
lines changed
  • packages/ns-api/files

1 file changed

+2
-1
lines changed

packages/ns-api/files/ns.ha

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,8 @@ def init_local(role, primary_node_ip, backup_node_ip, virtual_ip, pubkey = "", p
425425
exclude_list = [
426426
'/etc/config/network',
427427
'/etc/config/keepalived',
428-
'/etc/dropbear/authorized_keys'
428+
'/etc/dropbear/authorized_keys',
429+
'/etc/conntrackd/conntrackd.conf'
429430
]
430431
if role == "primary":
431432
(interface, lan_device) = get_device_from_ip(u, primary_node_ip)

0 commit comments

Comments
 (0)