Ian Wienand 9f688f53da centos7; use numeric DIB_RELEASE
With the introduction of centos 8 we have constructs like

 if [[ $DISTRO =~ (centos|fedora) && $DIB_RELEASE -ge 8 ]]

This is intended to match the "centos7" element (from the =~) but it
was missed that this is setting the DIB_RELEASE to "GenericCloud".

I think it makes more sense for this to be a numeric release, and
makes constructs like above work.  There really isn't any other type
of image to choose here; thus we move it into a new, centos7
specific variable.

Note that when the centos 8 images are available, we want to move to a
generic "centos" element that will handle both 7 and 8 together (same
as rhel) based on DIB_RELEASE and deprecate centos7; this works with
that environment too.

Change-Id: I2e6b7848070d6452c0563e2a122447627c6e6bf7
2019-10-14 14:34:36 +11:00
..
2019-02-25 06:31:30 +00:00
2019-10-14 14:34:36 +11:00
2019-10-03 00:22:18 +00:00
2017-05-31 11:17:05 +07:00
2017-04-05 13:11:22 +10:00
2018-05-09 12:06:20 -05:00
2017-02-02 11:20:00 +11:00
2017-01-31 14:14:19 +11:00
2017-02-02 11:20:00 +11:00
2017-05-19 12:43:36 -07:00
2018-02-28 06:31:34 -06:00
2017-05-19 12:43:36 -07:00
2017-05-19 12:43:36 -07:00
2019-05-29 12:07:44 +00:00
2017-02-02 20:36:23 +11:00
2019-10-07 10:47:09 +00:00
2017-02-02 11:20:00 +11:00
2017-03-14 14:49:49 +11:00
2018-02-23 10:04:40 +11:00
2017-12-05 22:59:20 +00:00
2018-11-28 11:04:50 +11:00