summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorEduardo Otubo <otubo@redhat.com>2020-06-23 14:41:15 +0200
committerGitHub <noreply@github.com>2020-06-23 08:41:15 -0400
commit650d53d656b612442773453813d8417b234d3752 (patch)
treea6f1dbbe1349de885634f6894600f43162382eb3 /systemd
parent76652f3e07b6f659b2fd166a6619cb427dc6bc7e (diff)
downloadcloud-init-git-650d53d656b612442773453813d8417b234d3752.tar.gz
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>
Diffstat (limited to 'systemd')
-rwxr-xr-xsystemd/cloud-init-generator.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/cloud-init-generator.tmpl b/systemd/cloud-init-generator.tmpl
index 45efa243..0773356b 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"