diff options
| author | xiaojueguan <xiaojueguan@gmail.com> | 2020-05-17 16:28:59 +0800 |
|---|---|---|
| committer | xiaojueguan <xiaojueguan@gmail.com> | 2020-05-17 16:28:59 +0800 |
| commit | 593b7b4ce4467c7687638bd0e1eced62f638d653 (patch) | |
| tree | f802bb12cd65d6baeedff5a82ac040265ba94e35 /tools | |
| parent | 7d73246fe7229c7dd9bc79e9443eba00cf277785 (diff) | |
| download | kolla-ansible-593b7b4ce4467c7687638bd0e1eced62f638d653.tar.gz kolla-ansible-593b7b4ce4467c7687638bd0e1eced62f638d653.zip | |
fix can not generate ovs-dpdk.conf
Change-Id: I0ecc10f8035f421d7dc1132c2b29db0d9cc84cdf
Closes-Bug: #1879125
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/ovs-dpdkctl.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/ovs-dpdkctl.sh b/tools/ovs-dpdkctl.sh index 6c6bb5aae..c24ab802f 100755 --- a/tools/ovs-dpdkctl.sh +++ b/tools/ovs-dpdkctl.sh @@ -348,6 +348,9 @@ function unconfigure_kernel_modules { } function install { + if [ ! -e "$CONFIG_FILE" ]; then + gen_config + fi configure_kernel_modules if [ ! -e "$SERVICE_FILE" ]; then install_service @@ -356,9 +359,6 @@ function install { cp "$FULL_PATH" /bin/ovs-dpdkctl chmod +x /bin/ovs-dpdkctl fi - if [ ! -e "$CONFIG_FILE" ]; then - gen_config - fi systemctl start ovs-dpdkctl install_network_manager_conf if [[ $(is_redhat_family) == 0 ]]; then |
