summaryrefslogtreecommitdiff
path: root/templates/protocols/ospfv3/node.def
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2021-04-28 21:15:08 +0000
committersever-sever <v.gletenko@vyos.io>2021-04-29 15:17:17 +0000
commit1587243e64a27c933dc48bd2ba0940020aad1658 (patch)
treedd9ae72c83d6841bc64d92bbc9c14a0a6c07e18a /templates/protocols/ospfv3/node.def
parentec297e189213c7019e7515806f5b38effe3408b1 (diff)
downloadvyatta-cfg-quagga-1587243e64a27c933dc48bd2ba0940020aad1658.tar.gz
vyatta-cfg-quagga-1587243e64a27c933dc48bd2ba0940020aad1658.zip
frr: T3217: Ability to save routing configs
Diffstat (limited to 'templates/protocols/ospfv3/node.def')
-rw-r--r--templates/protocols/ospfv3/node.def1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/protocols/ospfv3/node.def b/templates/protocols/ospfv3/node.def
index ffcf8dbc..4bf54837 100644
--- a/templates/protocols/ospfv3/node.def
+++ b/templates/protocols/ospfv3/node.def
@@ -9,6 +9,7 @@ begin: if [ "$COMMIT_ACTION" != DELETE ]; then
-c "no ospf6 router-id"
fi
vtysh -d ospf6d -c 'sh run' > /opt/vyatta/etc/quagga/ospf6d.conf
+ sudo vtysh --writeconfig --noerror
fi
end: if [ "$COMMIT_ACTION" == DELETE ]; then
vtysh -c "configure terminal" -c "router ospf6" -c "no router-id"