Commit Graph

7 Commits

Author SHA1 Message Date
Ryan Harper 5298092d15 Update example probe data to include info from latest probert
Probert includes network info on bonds and bridges, include this
data as we now rely upon it in the network model.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-11-06 10:38:03 -06:00
Ryan Harper 57be9d82b9 Fix show-disk-info from breaking on devices without a bus
When fixing show-disk-info on virtio devices, a thinko when
indexing the info structure caused issues when looking at
a secondary clause in a compound statement.  Fix this by
extracting the value via a .get and checking.
- Also include a probert dump of a virtio-based cloud image
for testing with virtio devices.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-11-02 13:39:09 -06:00
Adam Stokes b148025f31 Update my desktop machine profile
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-10-26 10:53:43 -04:00
Ryan Harper eddc55faa0 First cut on raid ux and model integration
Introduce a new Raiddev class to hold raid virtual device.
Add RaidAction to emit correct storage config
Tested with raid level 0 only.
Not sure if we can allow partitioning of raid devices.  Documentation
says it can be done but curtin will need to 'make it correctly'.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-10-09 08:57:37 -05:00
Ryan Harper 8aedabef3b Add nonic example file
Test nonics with:  MACHINE=examples/nonics.json make

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-09-03 13:47:35 -05:00
Adam Stokes 4ff83aa99e add another machine json
Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
2015-08-31 09:37:39 -04:00
Ryan Harper 8a0e9ebdfd Add new cli option to read machine probe data from file
Allow user to specify a probert machine configuration file to be
used during the installer.  If presented with the config file
no probing of the host will occur.

In the case that disks don't have a size in the data collected then
they'll be marked as USED.

Add a few example machines and update the README on how to specify.

Signed-off-by: Ryan Harper <ryan.harper@canonical.com>
2015-08-28 13:22:29 -05:00