Browse Source

add change dir

generate_dsl.py assumes lagopus_template.dsl exists
current directory.

Change-Id: Ic5177d60d9488793071f7975ce40190bbb8eb559
tags/1.0.0
Itsuro Oda 1 year ago
parent
commit
b127bc4888
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      devstack/lagopus

+ 2
- 1
devstack/lagopus View File

@@ -27,7 +27,8 @@ function install_lagopus {
27 27
 function generate_dsl {
28 28
     local dir=${GITDIR['networking-lagopus']}
29 29
     sudo mkdir -p $LAGOPUS_CONF_DIR
30
-    sudo python $dir/devstack/generate_dsl.py \
30
+    cd $dir/devstack
31
+    sudo python generate_dsl.py \
31 32
         $DPDK_PORT_MAPPINGS $LAGOPUS_CONF_DIR/$LAGOPUS_CONF
32 33
 }
33 34
 

Loading…
Cancel
Save