Minor fix to neutron sriov agent init script
Change-Id: I618b2974923b298bdd66c79398868f06c963f393
This commit is contained in:
parent
8f7b486b97
commit
8b59f26ae4
@ -68,11 +68,6 @@ NIC_FIRST_PORT=$(lshw -c network -businfo | awk "/${NIC_BUS%%.*}/ { print \$2; e
|
||||
ethtool --set-priv-flags ${NIC_FIRST_PORT} vf-true-promisc-support ${promisc_mode}
|
||||
{{- end }}
|
||||
|
||||
|
||||
{{- if ( has "besteffort" .Values.conf.sriov_init ) }}
|
||||
exit 0
|
||||
{{ end }}
|
||||
|
||||
{{- if and ( empty .Values.conf.neutron.DEFAULT.host ) ( .Values.pod.use_fqdn.neutron_agent ) }}
|
||||
mkdir -p /tmp/pod-shared
|
||||
tee > /tmp/pod-shared/neutron-agent.ini << EOF
|
||||
@ -80,3 +75,7 @@ tee > /tmp/pod-shared/neutron-agent.ini << EOF
|
||||
host = $(hostname --fqdn)
|
||||
EOF
|
||||
{{- end }}
|
||||
|
||||
{{- if ( has "besteffort" .Values.conf.sriov_init ) }}
|
||||
exit 0
|
||||
{{ end }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user