lp://qastaging/~wesley-wiedenmeier/curtin/storage-config
- Get this branch:
- bzr branch lp://qastaging/~wesley-wiedenmeier/curtin/storage-config
Branch merges
Branch information
Recent revisions
- 395. By Wesley Wiedenmeier
-
Use FS_TYPES name set instead of hardcoded strings for filesystem detection in
block meta - 393. By Wesley Wiedenmeier
-
Use nameset values for storage config commands and partition table types
instead of str values for better robustness - 392. By Wesley Wiedenmeier
-
Started block.storage_
config module to wrap storage config parsing and
processing - 390. By Ryan Harper
-
curtin/net: fix inet value for subnets, don't add interface attributes to alias
Apply two separate fixes for configuring bonding with ip aliases.
Curtin re-used the interface's inet value for each subnet that might
be configured. In the case where the configuration included an ipv4
address after an ipv6 one resulted in emitting 'inet6' for ipv4 address
which is not correct. Resolve this issue by calculating the inet
value independent of the current status of the iface, using the subnet
config instead.When rendering a network_config which includes ip alias interfaces
do not emit any attributes, like MTU, or bond/bridge options Including
these values is almost always wrong or will result in confusing
behavior on the target system. - 389. By Ryan Harper
-
Detect and remove legacy /etc/network/
interfaces. d/eth0. cfg from target Prior to Xenial release, Ubuntu Cloud images included a default network
configuration in /etc/network/interfaces. d/eth0. conf. The presence of
this legacy configuration file can cause a delay during boot when cloud-
init is expecting a non-existent interface to become available. curtin
installations handle configuring networking in the target installed
system subsequently the embedded configuration is not needed.This patch reuses most of cloud-init's version of detecting and
examining the legacy config, confirming if the contents are what is
expected. Upon finding expected content the file will be removed,
otherwise it will remain.Additional changes to vmtest and unittest were added to remove the
reliance on fallback nic naming (eth0); we always use non-kernel names
in our configuration now. An additional common test has been added to
check that in all cases we ensure we remove the embedded config.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/~curtin-dev/curtin/trunk