Use official CentOS & Ubuntu images via prodId 65/63865/2
authorThanh Ha <zxiiro@gmail.com>
Sat, 2 May 2020 02:20:16 +0000 (22:20 -0400)
committerThanh Ha <zxiiro@gmail.com>
Sun, 11 Apr 2021 01:58:50 +0000 (21:58 -0400)
commit9c3afdc5b798819f0173421ca560c97a0a92f20d
treedf1bdd2b38914d7e5b962ebcec0a9916293fd131
parent3494343faf0fc4221bfdb6cefc8bc0af0452f980
Use official CentOS & Ubuntu images via prodId

The previous filter method could result in getting an unexpected image
even one that's entirely different than what is intended. This patch
uses a product-code search of the marketplace for the official upstream
supported images rather than the custom ones provided by Amazon.

This patch is based on Zack William's suggestion on the lf-releng
mailinglist.

Reference:
https://lists.linuxfoundation.org/pipermail/lf-releng/2020-February/000135.html

Change-Id: Ia6208bd7a61036eb210d07533e3ceedbbc787678
Co-authored-by: Zack Williams <zdw@opennetworking.org>
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
README
templates/builder-aws.json
vars/centos-7.json
vars/centos-8.json
vars/ubuntu-16.04.json
vars/ubuntu-18.04.json