功能端部署剧本升级,适配20.04版本
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -7,7 +7,7 @@
|
||||
- name: "install kni rpms from localhost"
|
||||
yum:
|
||||
name:
|
||||
- /tmp/ansible_deploy/kni-3.0.2.57bfa41-1.el7.x86_64.rpm
|
||||
- /tmp/ansible_deploy/kni-20.04-1.el7.x86_64.rpm
|
||||
state: present
|
||||
|
||||
- name: Template the kni.conf
|
||||
|
||||
@@ -3,7 +3,7 @@ log_path = ./log/kni/kni.log
|
||||
log_level = {{ kni.global.log_level }}
|
||||
tfe_node_count = {{ kni.global.tfe_node_count }}
|
||||
manage_eth = {{ nic_mgr.name }}
|
||||
{% if run_as_tun_mode %}
|
||||
{% if tsg_access_type == 0 %}
|
||||
deploy_mode = tun
|
||||
{% else %}
|
||||
deploy_mode = normal
|
||||
@@ -11,7 +11,7 @@ deploy_mode = normal
|
||||
tun_name = tun_kni
|
||||
src_mac_addr = 00:0e:c6:d6:72:c1
|
||||
dst_mac_addr = fe:65:b7:03:50:bd
|
||||
{% if run_as_tun_mode %}
|
||||
{% if tsg_access_type == 0 %}
|
||||
{% else %}
|
||||
[tfe0]
|
||||
enabled = 1
|
||||
|
||||
Reference in New Issue
Block a user