DE1178: Make finding the proper boot device mode robust. [2/2]

This code updates the boot device finding code to not get confused by
sysfs paths that use a SCSI device WWN as a disk identifier instead of
a host:bus:target:lun quad.  To do this, it relies exclusively on
being able to extract PCI addresses and SCSI quads from device entries
in /sys/block.

This code will not work for devices that do not hang off a PCI device
or that do not communicate through the SCSI midlayer, but we can
address those cases sa they arise.


 chef/cookbooks/provisioner/recipes/bootdisk.rb     |   70 +++++++++++---------
 .../provisioner/templates/default/net_seed.erb     |    2 +-
 2 files changed, 40 insertions(+), 32 deletions(-)

Crowbar-Pull-ID: 98263bd30c9272dc9a56660fb15a5b74f0cb5685

Crowbar-Release: mesa-1.6