aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/open-contrail/tasks/install
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-01-21 12:29:22 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-01-21 12:29:22 +0000
commitbb7a36cbac02a1345e61b29f83cadc6434274249 (patch)
treeaf4dc8da8e028d01b710fb8034dc1c9fb8efedc6 /deploy/adapters/ansible/roles/open-contrail/tasks/install
parent34a1302918127f0cc08b2d005dd42ac373f253ef (diff)
parent6c48d465b98f2255d5374903df8c73dbc4e9adaf (diff)
Merge "bugfix: workaround for opencontrail" into stable/brahmaputra
Diffstat (limited to 'deploy/adapters/ansible/roles/open-contrail/tasks/install')
-rwxr-xr-xdeploy/adapters/ansible/roles/open-contrail/tasks/install/install-interface.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/deploy/adapters/ansible/roles/open-contrail/tasks/install/install-interface.yml b/deploy/adapters/ansible/roles/open-contrail/tasks/install/install-interface.yml
index 4e914749..4f21d50a 100755
--- a/deploy/adapters/ansible/roles/open-contrail/tasks/install/install-interface.yml
+++ b/deploy/adapters/ansible/roles/open-contrail/tasks/install/install-interface.yml
@@ -8,15 +8,15 @@
dest: "/etc/network/interfaces"
line: "{{ item }}"
with_items:
- - "auto {{ contrail_device }}"
- - "iface {{ contrail_device }} inet static"
- - "\taddress {{ contrail_address }}"
- - "\tnetmask {{ contrail_netmask }}"
+ - "auto {{ contrail_vhost_device }}"
+ - "iface {{ contrail_vhost_device }} inet static"
+ - "\taddress {{ contrail_vhost_address }}"
+ - "\tnetmask {{ contrail_vhost_netmask }}"
- name: "set interface address"
# sudo: True
- shell: "ifconfig {{ contrail_device }} {{ contrail_address }} netmask {{ contrail_netmask }}"
+ shell: "ifconfig {{ contrail_vhost_device }} {{ contrail_vhost_address }} netmask {{ contrail_vhost_netmask }}"
- name: "up interface"
# sudo: True
- shell: "ifconfig {{ contrail_device }} up"
+ shell: "ifconfig {{ contrail_vhost_device }} up"