9dab26
From f9cc7310eccee8076aea069e86ca137eb1002d19 Mon Sep 17 00:00:00 2001
9dab26
From: Eduardo Otubo <otubo@redhat.com>
9dab26
Date: Wed, 24 Jun 2020 07:55:01 +0200
9dab26
Subject: [PATCH 2/3] Change from redhat to rhel in systemd generator tmpl
9dab26
 (#450)
9dab26
9dab26
RH-Author: Eduardo Otubo <otubo@redhat.com>
9dab26
Message-id: <20200623154034.28563-3-otubo@redhat.com>
9dab26
Patchwork-id: 97783
9dab26
O-Subject: [RHEL-8.3.0/RHEL-8.2.1 cloud-init PATCH 2/3] Change from redhat to rhel in systemd generator tmpl (#450)
9dab26
Bugzilla: 1844366
9dab26
RH-Acked-by: Cathy Avery <cavery@redhat.com>
9dab26
RH-Acked-by: Mohammed Gamal <mgamal@redhat.com>
9dab26
9dab26
commit 650d53d656b612442773453813d8417b234d3752
9dab26
Author: Eduardo Otubo <otubo@redhat.com>
9dab26
Date:   Tue Jun 23 14:41:15 2020 +0200
9dab26
9dab26
    Change from redhat to rhel in systemd generator tmpl (#450)
9dab26
9dab26
    The name `redhat' is not used but rather `rhel' to identify the distro.
9dab26
9dab26
    Signed-off-by: Eduardo Otubo <otubo@redhat.com>
9dab26
9dab26
Signed-off-by: Eduardo Otubo <otubo@redhat.com>
9dab26
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
9dab26
---
9dab26
 systemd/cloud-init-generator.tmpl | 2 +-
9dab26
 1 file changed, 1 insertion(+), 1 deletion(-)
9dab26
9dab26
diff --git a/systemd/cloud-init-generator.tmpl b/systemd/cloud-init-generator.tmpl
9dab26
index 45efa24..0773356 100755
9dab26
--- a/systemd/cloud-init-generator.tmpl
9dab26
+++ b/systemd/cloud-init-generator.tmpl
9dab26
@@ -83,7 +83,7 @@ default() {
9dab26
 
9dab26
 check_for_datasource() {
9dab26
     local ds_rc=""
9dab26
-{% if variant in ["redhat", "fedora", "centos"] %}
9dab26
+{% if variant in ["rhel", "fedora", "centos"] %}
9dab26
     local dsidentify="/usr/libexec/cloud-init/ds-identify"
9dab26
 {% else %}
9dab26
     local dsidentify="/usr/lib/cloud-init/ds-identify"
9dab26
-- 
9dab26
1.8.3.1
9dab26