stages/cloud-init: disable default_flow_style when writing configs
This commit is contained in:
parent
9b5f13fc6d
commit
58708c29d2
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ def main(tree, options):
|
|||
config_files_dir = f"{tree}/etc/cloud/cloud.cfg.d"
|
||||
|
||||
with open(f"{config_files_dir}/{filename}", "w") as f:
|
||||
yaml.dump(config, f)
|
||||
yaml.dump(config, f, default_flow_style=False)
|
||||
|
||||
return 0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue