summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore5
-rwxr-xr-xdeploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml2
2 files changed, 6 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000..33a0451b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*~
+.*.sw?
+/docs_build/
+/docs_output/
+/releng/
diff --git a/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml b/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml
index ce73bce2..0e7c0eb6 100755
--- a/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml
+++ b/deploy/adapters/ansible/roles/onos_cluster/tasks/openvswitch.yml
@@ -40,7 +40,7 @@
- name: set veth to ovs
shell: >
- externamMac = `ifconfig eth1 | grep "HWaddr" | awk '{print $5}'`;
+ export externamMac=`ifconfig eth1 | grep "HWaddr" | awk '{print $5}'`;
ifconfig onos_port2 hw ether $externamMac;
ovs-vsctl add-port br-prv onos_port1;
ignore_errors: True