diff options
author | chenjiankun <chenjiankun1@huawei.com> | 2016-12-06 09:15:33 +0000 |
---|---|---|
committer | chenjiankun <chenjiankun1@huawei.com> | 2016-12-06 09:15:33 +0000 |
commit | 65ea41ee90e4fa49cfb693abcb32076e9be6cb87 (patch) | |
tree | 68957dec0140d9749bbba30067dc68483718eb69 /api/actions | |
parent | 3dd2b6f521ee0d3256123abf6f4b8b59fd3263ab (diff) |
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 <chenjiankun1@huawei.com>
Diffstat (limited to 'api/actions')
-rw-r--r-- | api/actions/env.py | 3 |
1 files changed, 3 insertions, 0 deletions
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() |