~wesley-wiedenmeier/curtin/nvme

  • Committer: Scott Moser
  • Date: 2016-02-12 17:41:37 UTC
  • mfrom: (349.2.5 curtin-1543263)
  • Revision ID: smoser@ubuntu.com-20160212174137-erf1y5vjp6qfhsed
partitioning: limited support for odd ordering of partition numbers

This fixes a bug in the partitioning code where it assumes that the
previous partition is numbered N-1. That is not always the case.
The change here is very focused on:
 a.) Being non-invasive.
 b.) fixing bug 1543263 and allowing maas to send configuration
     for power that "hides" the PReP partition as number 15
     so they don't have to really show it to the user.

Ultimately, we want to re-write the partitioning code to walk
through the storage config and correctly fill in number, start
and end for each entry. That is a more invasive and time-consuming
change though.

This also adds another disk to examples/tests/basic.yaml
and tests that it is partitioned as expected in
tests/vmtests/test_lvm.py
Filename Latest Rev Last Changed Committer Comment Size
..
partitioning-demos 207.1.144 9 years ago Wesley Wiedenmeier Reorganized examples into demos and config files f Diff
tests 207.1.144 9 years ago Wesley Wiedenmeier Reorganized examples into demos and config files f Diff
basic.yaml 207.1.22 9 years ago Wesley Wiedenmeier Added demo of custom partitioning to config exampl 454 bytes Diff Download File
finalize.windows 254.2.7 9 years ago Scott Moser merge with trunk 1.2 KB Diff Download File
network-all.yaml 270.1.3 9 years ago Ryan Harper Allow accepting either single value or list for dn 2.8 KB Diff Download File
network-bond.yaml 253.2.5 9 years ago ryan.harper at canonical Inject versioned network config Use the same dict 1.2 KB Diff Download File
network-bridge.yaml 253.2.5 9 years ago ryan.harper at canonical Inject versioned network config Use the same dict 769 bytes Diff Download File
network-simple.yaml 253.2.5 9 years ago ryan.harper at canonical Inject versioned network config Use the same dict 728 bytes Diff Download File
network-vlan.yaml 253.2.5 9 years ago ryan.harper at canonical Inject versioned network config Use the same dict 585 bytes Diff Download File