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:
parent
6da70f14ed
commit
1e92c3dda0
|
@ -468,8 +468,7 @@ def prepare_deploy_iso(task, params, mode, d_info):
|
||||||
json.dump(network_data, f, indent=2)
|
json.dump(network_data, f, indent=2)
|
||||||
|
|
||||||
files_info = {
|
files_info = {
|
||||||
metadata_fileobj.name: 'openstack/latest/meta'
|
metadata_fileobj.name: 'openstack/latest/network_data.json'
|
||||||
'data/network_data.json'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
with tempfile.NamedTemporaryFile(
|
with tempfile.NamedTemporaryFile(
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes incorrect injected network data location when using virtual media.
|
Loading…
Reference in New Issue