diff --git a/ROCKY/_supporting/0001-Ensure-cloud-user-is-applied-to-Rocky-Linux.patch b/ROCKY/_supporting/0001-Ensure-cloud-user-is-applied-to-Rocky-Linux.patch index 140f33df60f98ece1e5dc56a4b8c434ec2bec7af..9fc268f176155f453f8a26c04632f1b38a41b067 100644 --- a/ROCKY/_supporting/0001-Ensure-cloud-user-is-applied-to-Rocky-Linux.patch +++ b/ROCKY/_supporting/0001-Ensure-cloud-user-is-applied-to-Rocky-Linux.patch @@ -1,6 +1,6 @@ -From 0bd79b358111cc897b508131916dbc3035bcf280 Mon Sep 17 00:00:00 2001 +From 92ca1fa297fe7cfabfc73adf0afbe7896bd666fa Mon Sep 17 00:00:00 2001 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 --- @@ -8,18 +8,18 @@ Subject: [PATCH] Ensure cloud-user is applied to Rocky Linux 1 file changed, 1 insertion(+), 1 deletion(-) 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 +++ b/config/cloud.cfg.tmpl -@@ -262,7 +262,7 @@ system_info: - name: ec2-user - lock_passwd: True - gecos: EC2 Default User --{% elif variant in ["rhel", "centos"] %} -+{% elif variant in ["rhel", "centos", "rocky"] %} - name: cloud-user - lock_passwd: true - gecos: Cloud User +@@ -23,7 +23,7 @@ + "freebsd": "/bin/tcsh", "netbsd": "/bin/sh", + "openbsd": "/bin/ksh"}) %} + {% set usernames = ({"amazon": "ec2-user", "centos": "cloud-user", +- "openmandriva": "omv", "rhel": "cloud-user", ++ "openmandriva": "omv", "rhel": "cloud-user", "rocky": "cloud-user", + "unknown": "ubuntu"}) %} + {% if is_bsd %} + syslog_fix_perms: root:wheel -- -2.40.0 +2.43.0