Fix network_data path for dhcpless deployments
The curent path "openstack/latest/metadata/network_data.json" is not being used by Glean. This path must be changed to "openstack/latest/network_data.json" as per the code here https://opendev.org/opendev/glean/src/branch/master/glean/cmd.py#L1317-L1331 Change-Id: I7a6bb699f171585119c91d0808ff0c85d04104bf Story: #2008042 Task: #40704
This commit is contained in:
parent
df9ce79f23
commit
dae84efd66
@ -623,8 +623,8 @@ def _prepare_deploy_iso(task, params, mode):
|
||||
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(
|
||||
|
Loading…
Reference in New Issue
Block a user