Fix job cost amazon exception 26/65126/3
authorAric Gardner <agardner@linuxfoundation.org>
Mon, 17 Aug 2020 20:03:58 +0000 (16:03 -0400)
committerAric Gardner <agardner@linuxfoundation.org>
Thu, 20 Aug 2020 18:22:57 +0000 (14:22 -0400)
commitcfe6494e335f277155582ba564bdceae1ee043fd
tree1ef853e04ceac6f5a60e472e43545a93c397294b
parent82ca5419dbf134b9cb29f69a1c74e69c24af7456
Fix job cost amazon exception

bios_vendor file now says Xen, no amazon string
to match on any longer.

cat /sys/devices/virtual/dmi/id/bios_vendor
Xen

however result.json has the info we need.

/run/cloud-init/result.json
{
 "v1": {
  "datasource": "DataSourceEc2Local",
  "errors": []
 }
}

Issue-Id: RELENG-3163
Signed-off-by: Aric Gardner <agardner@linuxfoundation.org>
Change-Id: I57e27fe5bb2135e738b33c0f6de78f1759bcb93d
shell/job-cost.sh