Skip to content

Commit 8826702

Browse files
fix(ns-ha): do not start interfaces on boot on S (#1407)
All interfaces except those managed by keepalived should not be started on boot on the backup system (auto=0). This will avoid conflicting IPs on WAN
1 parent 43d54cd commit 8826702

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/ns-ha/files/ns-ha-import

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ def import_interfaces(file):
2525
for interface, options in interfaces.items():
2626
u.set('network', interface, 'interface')
2727
u.set('network', interface, 'ns_tag', ['ha'])
28+
u.set('network', interface, 'auto', '0')
2829
for opt in options:
2930
u.set('network', interface, opt, options[opt])
3031
u.commit('network')

0 commit comments

Comments
 (0)