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