Pass label to bootstrap image metadata
Change-Id: Ia6bb0e234232966ba03b2935a7bd66b8e965632b Closes-Bug: #1529876
This commit is contained in:
parent
a149ca5670
commit
a9f2bd1769
@ -401,6 +401,7 @@ class Manager(BaseDeployDriver):
|
|||||||
drop_data['os'] = metadata['os']
|
drop_data['os'] = metadata['os']
|
||||||
drop_data['all_packages'] = metadata['all_packages']
|
drop_data['all_packages'] = metadata['all_packages']
|
||||||
drop_data['repos'] = metadata['repos']
|
drop_data['repos'] = metadata['repos']
|
||||||
|
drop_data['label'] = bootstrap_scheme.label
|
||||||
|
|
||||||
LOG.debug('Image metadata: %s', drop_data)
|
LOG.debug('Image metadata: %s', drop_data)
|
||||||
with open(meta_file, 'wt') as f:
|
with open(meta_file, 'wt') as f:
|
||||||
|
@ -82,7 +82,8 @@ class BootstrapDataBuilder(object):
|
|||||||
'container': {
|
'container': {
|
||||||
'meta_file': consts.METADATA_FILE,
|
'meta_file': consts.METADATA_FILE,
|
||||||
'format': self.container_format
|
'format': self.container_format
|
||||||
}
|
},
|
||||||
|
'label': self.label
|
||||||
},
|
},
|
||||||
'repos': self._get_repos(),
|
'repos': self._get_repos(),
|
||||||
'proxies': self._get_proxy_settings(),
|
'proxies': self._get_proxy_settings(),
|
||||||
|
Loading…
Reference in New Issue
Block a user