aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/open-contrail/tasks/install
diff options
context:
space:
mode:
authorchenshuai@huawei.com <chenshuai@huawei.com>2016-01-16 01:35:52 +0800
committerchenshuai@huawei.com <chenshuai@huawei.com>2016-01-16 01:35:52 +0800
commit6b168a9b8c44c141f71c2eab7e51973f3523f912 (patch)
tree7c9132e972ce79cce5ef5ad036e1b70a4e20a38b /deploy/adapters/ansible/roles/open-contrail/tasks/install
parent6d0c31acb8e9702824f0697eb9916886b0324797 (diff)
bugfix: workaround for opencontrail
JIRA: COMPASS-271 Change-Id: Ib4bbc0536ed8877f5e38150e5d710578345ac56b Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
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"