Fix incorrect network_data.json location

There is no metadata subdirectory, it goes right into openstack/latest.

Change-Id: I576c3c85515970262b5e7480913ff7daefa1b539
(cherry picked from commit 3fd513ee1c)
This commit is contained in:
Dmitry Tantsur 2020-11-11 12:17:36 +01:00
parent 6da70f14ed
commit 1e92c3dda0
2 changed files with 5 additions and 2 deletions

View File

@ -468,8 +468,7 @@ def prepare_deploy_iso(task, params, mode, d_info):
json.dump(network_data, f, indent=2)
files_info = {
metadata_fileobj.name: 'openstack/latest/meta'
'data/network_data.json'
metadata_fileobj.name: 'openstack/latest/network_data.json'
}
with tempfile.NamedTemporaryFile(

View File

@ -0,0 +1,4 @@
---
fixes:
- |
Fixes incorrect injected network data location when using virtual media.