Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cloud-init
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
staging
patch
cloud-init
Commits
73beaa99
Verified
Commit
73beaa99
authored
1 year ago
by
Louis Abel
Browse files
Options
Downloads
Patches
Plain Diff
update patch
parent
9a536fa5
Branches
r10s
Tags
imports/r10s/gnome-kiosk-47.0-10.el10
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ROCKY/_supporting/0001-Ensure-cloud-user-is-applied-to-Rocky-Linux.patch
+13
-13
13 additions, 13 deletions
...ng/0001-Ensure-cloud-user-is-applied-to-Rocky-Linux.patch
with
13 additions
and
13 deletions
ROCKY/_supporting/0001-Ensure-cloud-user-is-applied-to-Rocky-Linux.patch
+
13
−
13
View file @
73beaa99
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
202
3
1
8:08:54
-0700
Date: Tue,
9 Jan
202
4
1
4: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
@@ -2
62
,7 +2
62
,7 @@
system_info:
name: ec2-user
lock_passwd: True
gecos: EC2 Default U
ser
-
{% elif variant in [
"rhel"
,
"c
entos"] %}
+
{% elif variant in [
"rhel"
,
"c
entos
", "rocky"
] %}
name: cloud-user
lock_passwd: true
gecos: Cloud User
@@ -2
3
,7 +2
3
,7 @@
"freebsd": "/bin/tcsh", "netbsd": "/bin/sh",
"openbsd": "/bin/ksh"}) %}
{% set usernames = ({"amazon": "ec2-user", "centos": "cloud-u
ser
",
-
"openmandriva": "omv",
"rhel"
:
"c
loud-user",
+
"openmandriva": "omv",
"rhel"
:
"c
loud-user
", "rocky"
: "cloud-user",
"unknown": "ubuntu"}) %}
{% if is_bsd %}
syslog_fix_perms: root:wheel
--
2.4
0
.0
2.4
3
.0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment