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
..
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2017-06-21 12:01:31 +10:00
2016-11-01 17:27:41 -07:00
2019-02-25 06:31:30 +00:00
2019-05-31 17:10:08 +10:00
2018-02-23 10:04:44 +11:00
2018-02-23 10:04:44 +11:00
2019-09-12 15:06:17 -04:00
2019-05-31 16:31:43 +10:00
2019-10-14 14:34:36 +11:00
2019-10-08 00:17:14 +02:00
2016-11-01 17:27:41 -07:00
2017-02-09 13:35:53 +11:00
2017-05-31 14:36:30 +02:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2018-03-26 10:58:04 -07:00
2019-10-03 13:49:47 +10:00
2017-06-19 13:27:33 +10:00
2017-06-19 13:27:33 +10:00
2019-06-12 13:53:38 +00:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2018-03-22 00:16:09 -05:00
2018-07-10 07:46:56 +00:00
2018-04-12 13:24:59 -05:00
2019-10-03 00:22:18 +00:00
2017-05-31 11:17:05 +07:00
2018-07-25 16:35:58 +01:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2017-04-05 13:11:22 +10:00
2018-05-09 12:06:20 -05:00
2017-05-31 08:36:56 +10:00
2017-06-11 09:30:34 +00:00
2019-08-13 15:51:05 +10: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
2019-10-03 00:22:18 +00:00
2019-08-28 11:21:46 +10:00
2019-10-01 06:01:15 +00:00
2019-08-19 15:13:09 -05:00
2016-11-01 17:27:41 -07:00
2019-09-12 15:06:17 -04:00
2019-05-31 16:09:25 +10:00
2016-11-01 17:27:41 -07:00
2017-05-19 12:43:36 -07:00
2018-11-20 14:11:11 +01:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2019-07-02 21:39:13 -04:00
2019-01-02 11:05:00 +01:00
2018-02-28 06:31:34 -06:00
2019-07-25 11:24:49 +10:00
2016-11-29 07:43:46 +11:00
2019-03-04 15:05:37 -05:00
2017-05-24 15:20:55 +10:00
2016-11-29 07:43:46 +11:00
2018-10-08 16:02:25 +11:00
2018-06-28 13:55:53 +02:00
2016-11-01 17:27:41 -07:00
2016-11-01 17:27:41 -07:00
2019-05-01 11:42:21 -04:00
2019-10-03 00:22:05 +00:00
2019-08-30 22:44:40 +02:00
2019-08-30 22:44:40 +02:00
2018-11-30 10:02:47 +11:00
2019-10-03 00:22:18 +00:00
2018-10-01 19:59:30 -07:00
2018-10-18 11:03:17 +11:00
2016-11-29 07:43:46 +11:00
2018-05-13 23:06:00 +08:00
2019-08-08 22:52:43 +00:00
2017-02-09 13:35:53 +11:00
2017-05-19 12:43:36 -07:00
2017-05-19 12:43:36 -07:00
2016-11-01 17:27:41 -07:00
2019-10-03 00:22:18 +00:00
2019-08-07 18:18:34 +10:00
2019-05-29 12:07:44 +00:00
2019-05-29 11:28:53 +03:00
2019-10-03 00:22:18 +00:00
2017-02-02 20:36:23 +11:00
2016-11-01 17:27:41 -07:00
2018-11-19 13:13:57 +11:00
2019-10-07 10:47:09 +00:00
2019-05-31 16:09:25 +10:00
2016-11-01 17:27:41 -07:00
2019-05-29 11:28:53 +03:00
2017-02-02 11:20:00 +11:00
2017-08-06 13:56:58 -04:00
2016-11-01 17:27:41 -07:00
2019-08-09 10:26:48 +00:00
2018-09-20 02:06:04 +01:00
2019-06-20 10:18:23 -07:00
2017-03-14 14:49:49 +11:00
2018-10-31 14:22:28 +11:00
2018-02-23 10:04:40 +11:00
2019-10-03 00:22:18 +00:00
2019-10-07 10:47:09 +00:00
2019-01-07 10:02:35 +08:00
2017-12-05 22:59:20 +00:00
2019-08-21 19:57:25 +02:00
2018-11-28 11:04:50 +11:00