~strikov-deactivatedaccount/curtin/no-disk-found

Viewing all changes in revision 215.

  • Committer: Oleg Strikov
  • Date: 2015-06-10 13:13:57 UTC
  • Revision ID: oleg.strikov@canonical.com-20150610131357-jqb257i1849ld370
block_meta: Notify user if curtin can't find any disk to install os on.

Right now curtin crashes with 'list index out of range' error message
while trying to access the first element of an empty list of disks.
This can be confusing (see LP:1451490). This commit adds meaningful
error message to let user know what went wrong.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: