From: Andrew Grimberg Date: Fri, 26 Jan 2018 18:16:20 +0000 (-0800) Subject: Add EC2 filter defintions for future support X-Git-Tag: v0.1.0~48 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F50%2F8550%2F1;p=releng%2Fcommon-packer.git Add EC2 filter defintions for future support EC2 templates have different requirements for the image base definition that uses filters. As we can have unused variables defined in our vars files we can just add these extra parameters without causing problems with OpenStack builds and still support EC2 builds. Change-Id: I28c773d16ae4102c53416e957509e9f87e7d802b Signed-off-by: Andrew Grimberg --- diff --git a/vars/centos-7.json b/vars/centos-7.json index 4d8ea05..5af2b08 100644 --- a/vars/centos-7.json +++ b/vars/centos-7.json @@ -1,4 +1,6 @@ { + "source_ami_filter_name": "*CentOS Linux 7*HVM*", + "source_ami_filter_owner": "679593333241", "base_image": "LF - CentOS 7.1711 (2017-11-05)", "distro": "CentOS 7", "ssh_user": "centos", diff --git a/vars/ubuntu-16.04.json b/vars/ubuntu-16.04.json index eba1e06..fc3218d 100644 --- a/vars/ubuntu-16.04.json +++ b/vars/ubuntu-16.04.json @@ -1,4 +1,6 @@ { + "source_ami_filter_name": "*ubuntu*16.04*", + "source_ami_filter_owner": "099720109477", "base_image": "LF - Ubuntu 16.04 LTS (2017-12-01)", "distro": "Ubuntu 16.04", "ssh_user": "ubuntu",