From: Aric Gardner Date: Tue, 22 Sep 2020 20:51:59 +0000 (-0400) Subject: Fix capture-instance-metadata.sh X-Git-Tag: v0.57.4~4 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;ds=sidebyside;h=ac18bc16fef4450781919dacedee149b092588b8;hp=ac18bc16fef4450781919dacedee149b092588b8;p=releng%2Fglobal-jjb.git Fix capture-instance-metadata.sh 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 Change-Id: Iece691579622608616a6abc8d27b9ca7653ad9ae ---