Skip to content
Snippets Groups Projects
Verified Commit 73beaa99 authored by Louis Abel's avatar Louis Abel :tv:
Browse files

update patch

parent 9a536fa5
No related branches found
No related tags found
No related merge requests found
From 0bd79b358111cc897b508131916dbc3035bcf280 Mon Sep 17 00:00:00 2001 From 92ca1fa297fe7cfabfc73adf0afbe7896bd666fa Mon Sep 17 00:00:00 2001
From: Louis Abel <label@rockylinux.org> From: Louis Abel <label@rockylinux.org>
Date: Tue, 25 Apr 2023 18:08:54 -0700 Date: Tue, 9 Jan 2024 14:42:32 -0700
Subject: [PATCH] Ensure cloud-user is applied to Rocky Linux Subject: [PATCH] Ensure cloud-user is applied to Rocky Linux
--- ---
...@@ -8,18 +8,18 @@ Subject: [PATCH] Ensure cloud-user is applied to Rocky Linux ...@@ -8,18 +8,18 @@ Subject: [PATCH] Ensure cloud-user is applied to Rocky Linux
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl diff --git a/config/cloud.cfg.tmpl b/config/cloud.cfg.tmpl
index 12f32c5..c712aa4 100644 index de0bf7b..f373eeb 100644
--- a/config/cloud.cfg.tmpl --- a/config/cloud.cfg.tmpl
+++ b/config/cloud.cfg.tmpl +++ b/config/cloud.cfg.tmpl
@@ -262,7 +262,7 @@ system_info: @@ -23,7 +23,7 @@
name: ec2-user "freebsd": "/bin/tcsh", "netbsd": "/bin/sh",
lock_passwd: True "openbsd": "/bin/ksh"}) %}
gecos: EC2 Default User {% set usernames = ({"amazon": "ec2-user", "centos": "cloud-user",
-{% elif variant in ["rhel", "centos"] %} - "openmandriva": "omv", "rhel": "cloud-user",
+{% elif variant in ["rhel", "centos", "rocky"] %} + "openmandriva": "omv", "rhel": "cloud-user", "rocky": "cloud-user",
name: cloud-user "unknown": "ubuntu"}) %}
lock_passwd: true {% if is_bsd %}
gecos: Cloud User syslog_fix_perms: root:wheel
-- --
2.40.0 2.43.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment