lp:~multani/cloud-init

Owned by Jonathan Ballet
Get this repository:
git clone https://git.launchpad.net/~multani/cloud-init
Only Jonathan Ballet can upload to this repository. If you are Jonathan Ballet please log in for upload directions.

Branches

Name Last Modified Last Commit
fix-1634678 2017-03-23 14:07:46 UTC 2017-03-23
Fix filesystem creation when using "partition: auto"

Author: Jonathan Ballet
Author Date: 2017-03-23 13:35:59 UTC

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

11 of 1 result
This repository contains Public information 
Everyone can see this information.

Subscribers