mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-12-16 14:50:22 +00:00
As the printed strings contain newlines, this causes a space to be written
as the first character of the following line causing them to be indented.
An example config that is broken. Here disabling modules indents all the
other lines of cloud.cfg except the first one causing the username name
setting to fail as it expects indenting to be certain number of spaces.
plugins:
cloud_init:
metadata_sources: Ec2
username: admin
disable_modules:
- locale
- mounts
This commit removes the spaces by specifying end=''.
|
||
|---|---|---|
| .. | ||
| assets | ||
| fs | ||
| tasks | ||
| __init__.py | ||
| bytes.py | ||
| exceptions.py | ||
| fsm_proxy.py | ||
| phases.py | ||
| releases.py | ||
| sectors.py | ||
| task_groups.py | ||
| tools.py | ||