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:
vmud213 2020-08-20 11:24:37 +00:00
parent df9ce79f23
commit dae84efd66

View File

@ -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(