diff options
author | Jonathan Ballet <jballet@edgelab.ch> | 2017-03-23 14:35:59 +0100 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-03-24 15:40:28 -0400 |
commit | 4a2b2f87ec48c227eb8fb2091dba604457cf8de8 (patch) | |
tree | 60dae739965ccc8551517a66f66cad8fdeed03b1 /doc/examples/cloud-config.txt | |
parent | 443095f4d4b6feba30c7011b7ab48adb2a40fcf5 (diff) | |
download | vyos-cloud-init-4a2b2f87ec48c227eb8fb2091dba604457cf8de8.tar.gz vyos-cloud-init-4a2b2f87ec48c227eb8fb2091dba604457cf8de8.zip |
Fix filesystem creation when using "partition: auto"
Accordingly to the documentation:
The ``partition`` option may also be set to ``auto``, in which this
module will search for the existance of a filesystem matching the
``label``, ``type`` and ``device`` of the ``fs_setup`` entry and
will skip creating the filesystem if one is found.
However, using this "auto" flag always recreates the partition no matter
if it has been done before or not.
This commit fixes a bug in which the "partition" attribute was always
set to None although in some cases it should not.
LP: #1634678
Diffstat (limited to 'doc/examples/cloud-config.txt')
0 files changed, 0 insertions, 0 deletions