Commit Graph

113 Commits

Author SHA1 Message Date
Michael Hudson-Doyle 94b4f550e3 update config to match probert changes 2017-11-27 09:54:11 +13:00
Michael Hudson-Doyle 6919e5ce68 minimal implementation of canned answers
this allows automation of the enter-enter-enter flow, not much more than that
2017-11-17 13:25:16 +13:00
Michael Hudson-Doyle e7bfb9ef0c change examples/mwhudson.json to have a devpath not usually mounted
really "which partitions are mounted" should be part of the save data.
2017-11-16 12:11:30 +13:00
Michael Hudson-Doyle fcd189a892 remove examples that now fail to load with new network format
add example from my system.
2017-11-16 10:50:50 +13:00
Michael Hudson-Doyle d756596093 hook up curtin's event reporting into journald and watch these messages during install 2017-09-18 22:50:00 +12:00
Michael Hudson-Doyle 81fcdfd01b fix blockdev_align_up to actually round up by 1M, not 1G
part of https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1654079
2017-01-05 14:45:14 +13:00
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