From 336bd8f7c36c46a05eabc4e025e2462636f06a3f Mon Sep 17 00:00:00 2001 From: Eduardo Otubo Date: Tue, 23 Jun 2020 13:35:36 +0200 Subject: [PATCH] Change from redhat to rhel in systemd generator tmpl The name `redhat' is not used but rather `rhel' to identify the distro. Signed-off-by: Eduardo Otubo --- 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 45efa243a61..0773356bb69 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"