Skip to content

Commit

Permalink
Merge pull request #38 from vmware/topic/okurth/no_default_configs
Browse files Browse the repository at this point in the history
add 'no_default_configs' option to 'system'
  • Loading branch information
oliverkurth authored Oct 25, 2023
2 parents b873968 + d7757c0 commit 470735c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ova-compose/ova-compose.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,7 +825,9 @@ def __init__(self,
vssd_system, rasd_items, extra_configs,
product, annotation, eula,
configurations):
self.hardware_config = OVF.CONFIG_DEFAULTS.copy()
self.hardware_config = {}
if not system.get('no_default_configs', False):
self.hardware_config.update(OVF.CONFIG_DEFAULTS)
self.name = system['name']
self.os_cim = system.get('os_cim', 100)
self.os_vmw = system.get('os_vmw', "other4xLinux64Guest")
Expand Down

0 comments on commit 470735c

Please sign in to comment.