mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
net/keepalived: change use_vmac to boolean
Append use_vmac with no_val_ so that the uci generation will treat this
as an boolean option. If the option is set then a interface with
vrrp.{virtual_router_id} is added to the system.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
@@ -283,13 +283,14 @@ vrrp_instance() {
|
|||||||
printf "$INDENT_1}\n" >> $KEEPALIVED_CONF
|
printf "$INDENT_1}\n" >> $KEEPALIVED_CONF
|
||||||
}
|
}
|
||||||
|
|
||||||
print_elems_indent $1 $INDENT_1 use_vmac state interface \
|
print_elems_indent $1 $INDENT_1 state interface \
|
||||||
mcast_src_ip unicast_src_ip virtual_router_id version priority \
|
mcast_src_ip unicast_src_ip virtual_router_id version priority \
|
||||||
advert_int preempt_delay debug \
|
advert_int preempt_delay debug \
|
||||||
lvs_sync_daemon_interface garp_master_delay garp_master_refresh \
|
lvs_sync_daemon_interface garp_master_delay garp_master_refresh \
|
||||||
garp_master_repeat garp_master_refresh_repeat \
|
garp_master_repeat garp_master_refresh_repeat \
|
||||||
no_val_vmac_xmit_base no_val_native_ipv6 no_val_accept \
|
no_val_vmac_xmit_base no_val_native_ipv6 no_val_accept \
|
||||||
no_val_dont_track_primary no_val_smtp_alert no_val_nopreempt
|
no_val_dont_track_primary no_val_smtp_alert no_val_nopreempt \
|
||||||
|
no_val_use_vmac
|
||||||
|
|
||||||
print_notify "INSTANCE" "$name" notify_backup notify_master \
|
print_notify "INSTANCE" "$name" notify_backup notify_master \
|
||||||
notify_fault notify_stop notify
|
notify_fault notify_stop notify
|
||||||
|
|||||||
Reference in New Issue
Block a user