From 5b2e0c1603d5ba4567121c336fa0c63c736f7342 Mon Sep 17 00:00:00 2001 From: kouak Date: Tue, 3 Mar 2015 10:30:02 +0100 Subject: Fix broken commit 6257dfa1464d460de74e258b6290d4890a885218 --- templates/interfaces/ethernet/node.tag/vif/node.def | 6 +++--- .../service/dns/dynamic/interface/node.tag/service/sitelutions | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) create mode 120000 templates/service/dns/dynamic/interface/node.tag/service/sitelutions diff --git a/templates/interfaces/ethernet/node.tag/vif/node.def b/templates/interfaces/ethernet/node.tag/vif/node.def index a1bd652b..b9925177 100644 --- a/templates/interfaces/ethernet/node.tag/vif/node.def +++ b/templates/interfaces/ethernet/node.tag/vif/node.def @@ -6,12 +6,12 @@ syntax:expression: $VAR(@) >= 0 && $VAR(@) <= 4094; "VLAN ID must be between 0 a val_help: u32:0-4094; VLAN ID create: if [ -n "$VAR(./egress-qos)" ]; then - opt-e=" egress-qos-map $VAR(./egress-qos/@) " + opt_e=" egress-qos-map $VAR(./egress-qos/@) " fi if [ -n "$VAR(./ingress-qos)" ]; then - opt-in=" ingress-qos-map $VAR(./ingress-qos/@) " + opt_in=" ingress-qos-map $VAR(./ingress-qos/@) " fi - if ! ip link add link $VAR(../@) name "$VAR(../@).$VAR(@)" type vlan id $VAR(@) $opt-e $opt-in + if ! ip link add link $VAR(../@) name "$VAR(../@).$VAR(@)" type vlan id $VAR(@) ${opt_e} ${opt_in} then echo "Error creating VLAN device $VAR(../@).$VAR(@)" exit 1 fi diff --git a/templates/service/dns/dynamic/interface/node.tag/service/sitelutions b/templates/service/dns/dynamic/interface/node.tag/service/sitelutions new file mode 120000 index 00000000..eb3f9cd2 --- /dev/null +++ b/templates/service/dns/dynamic/interface/node.tag/service/sitelutions @@ -0,0 +1 @@ +node.tag/ \ No newline at end of file -- cgit v1.2.3