Skip to content
Snippets Groups Projects
Commit 3aa7d46c authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "fix can not generate ovs-dpdk.conf"

parents 8deefbd8 593b7b4c
No related branches found
No related tags found
No related merge requests found
...@@ -348,6 +348,9 @@ function unconfigure_kernel_modules { ...@@ -348,6 +348,9 @@ function unconfigure_kernel_modules {
} }
function install { function install {
if [ ! -e "$CONFIG_FILE" ]; then
gen_config
fi
configure_kernel_modules configure_kernel_modules
if [ ! -e "$SERVICE_FILE" ]; then if [ ! -e "$SERVICE_FILE" ]; then
install_service install_service
...@@ -356,9 +359,6 @@ function install { ...@@ -356,9 +359,6 @@ function install {
cp "$FULL_PATH" /bin/ovs-dpdkctl cp "$FULL_PATH" /bin/ovs-dpdkctl
chmod +x /bin/ovs-dpdkctl chmod +x /bin/ovs-dpdkctl
fi fi
if [ ! -e "$CONFIG_FILE" ]; then
gen_config
fi
systemctl start ovs-dpdkctl systemctl start ovs-dpdkctl
install_network_manager_conf install_network_manager_conf
if [[ $(is_redhat_family) == 0 ]]; then if [[ $(is_redhat_family) == 0 ]]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment