summaryrefslogtreecommitdiff
path: root/templates/interfaces/tunnel
diff options
context:
space:
mode:
Diffstat (limited to 'templates/interfaces/tunnel')
-rw-r--r--templates/interfaces/tunnel/node.tag/local-ip/node.def6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/interfaces/tunnel/node.tag/local-ip/node.def b/templates/interfaces/tunnel/node.tag/local-ip/node.def
index 9f9d52c0..0780210d 100644
--- a/templates/interfaces/tunnel/node.tag/local-ip/node.def
+++ b/templates/interfaces/tunnel/node.tag/local-ip/node.def
@@ -1,8 +1,8 @@
type: ipv4
help: Set the local IP address for this tunnel
-syntax:expression: exec "if [ -z \"`ip addr list | grep $VAR(@) `\" ]; then \
- echo IP address $VAR(@) doesn\\'t exist on this system ; \
- exit 1 ; \
+commit:expression: exec "if [ -z \"`ip addr list | grep $VAR(@) `\" ]; then \
+ echo IP address $VAR(@) doesn\\'t exist on this system ; \
+ exit 1 ; \
fi ; "
create:expression: "true"
update:expression: "false" ; \