Actually pass on network_data when building configdrive
Change-Id: I75cfd10e1daf4590d064df531be57fe06363ccc5
This commit is contained in:
parent
e8e99af4d3
commit
d8db601f21
|
@ -71,7 +71,8 @@ def build(metadata, user_data=None, versions=None, network_data=None):
|
||||||
:param dict network_data: Networking configuration.
|
:param dict network_data: Networking configuration.
|
||||||
:return: configdrive contents as a base64-encoded string.
|
:return: configdrive contents as a base64-encoded string.
|
||||||
"""
|
"""
|
||||||
with populate_directory(metadata, user_data, versions) as path:
|
with populate_directory(metadata, user_data, versions,
|
||||||
|
network_data) as path:
|
||||||
return pack(path)
|
return pack(path)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes ``openstack.baremetal.configdrive.build`` to actually handle the
|
||||||
|
``network_data`` argument.
|
Loading…
Reference in New Issue