diskimage-builder/elements/deploy
Dan Prince 9fe9afb159 deploy element: Call find_disk in loop w/ timeout.
Updates our deploy element's init script so that it calls
find_disk in a loop until it returns true (meaning we have a disk).

Previously on some bare metal machines find_disk would return ""
which causes the subsequent iscsi target commands to fail due to
a bad backing store.

This commit also updates the error message when start_iscsi_target
fails to be a bit more accurate as well.

Fixes LP Bug #1190984.

Change-Id: I3cd535d6672c197c1c3c539c83bba36be7a14e18
2013-06-14 09:36:15 -04:00
..
root.d Add fedora support for ramdisk-image-create. 2013-05-31 15:37:31 +01:00
binary-deps Rename flavour to element. 2012-12-05 14:04:58 -08:00
init deploy element: Call find_disk in loop w/ timeout. 2013-06-14 09:36:15 -04:00
README.md Rename flavour to element. 2012-12-05 14:04:58 -08:00

A ramdisk that will expose the machine primary disk over iSCSI and reboot once baremetal-deploy-helper signals it is finished.