VNF scale-out testcase
[bottlenecks.git] / utils / env_prepare / stack_prepare.py
index ce8da61..25c2a29 100644 (file)
@@ -32,9 +32,9 @@ def _prepare_env_daemon(test_yardstick):
     if not os.environ.get("EXTERNAL_NETWORK"):
         _append_external_network(rc_file)
     if test_yardstick:
+        yardstick_contain = docker_env.yardstick_info["container"]
         cmd = "cp %s %s" % (rc_file,
                             config.bottlenecks_config["yardstick_rc_dir"])
-        yardstick_contain = docker_env.yardstick_info["container"]
         docker_env.docker_exec_cmd(yardstick_contain,
                                    cmd)