From 65ea41ee90e4fa49cfb693abcb32076e9be6cb87 Mon Sep 17 00:00:00 2001 From: chenjiankun Date: Tue, 6 Dec 2016 09:15:33 +0000 Subject: Bugfix: create stack failed due to not export EXTERNAL_NETWORK environment viarable JIRA: YARDSTICK-449 Now if we run prepare env, we will not source the EXTERNAL_NETWORK. I will source the EXTERNAL_NETWORK after I get it. Change-Id: I917fcecae2cac13b7511667c0687d10eccfac751 Signed-off-by: chenjiankun --- api/actions/env.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'api') diff --git a/api/actions/env.py b/api/actions/env.py index 9e53dde4d..78f9b72ed 100644 --- a/api/actions/env.py +++ b/api/actions/env.py @@ -191,6 +191,9 @@ def _prepare_env_daemon(): _append_external_network(rc_file) + # update the external_network + _source_file(rc_file) + _load_images() -- cgit 1.2.3-korg