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
bfab8e04
Verified
Commit
bfab8e04
authored
1 year ago
by
Louis Abel
Browse files
Options
Downloads
Patches
Plain Diff
fix 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 @
bfab8e04
From
0bd79b358111cc897b508131916dbc3035bcf280
Mon Sep 17 00:00:00 2001
From
d9e8b21ddd0222c306a92efa56a7bad5429d8c17
Mon Sep 17 00:00:00 2001
From: Louis Abel <label@rockylinux.org>
Date: Tue,
25 Apr
2023 1
8:08:54
-0700
Date: Tue,
8 Aug
2023 1
2:54:03
-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
08b6efb..ed82d8d
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 User
-{%
elif
variant in ["rhel", "centos"] %}
+{%
elif
variant in ["rhel", "centos", "rocky"] %}
name: cloud-user
lock_passwd: true
gecos: Cloud User
@@ -2,7 +2,7 @@
# The top level settings are used as module
# and system configuration.
{% set is_bsd = variant in ["dragonfly", "freebsd", "netbsd", "openbsd"] %}
-{%
set is_rhel =
variant in ["rhel", "centos"] %}
+{%
set is_rhel =
variant in ["rhel", "centos", "rocky"] %}
{% if is_bsd %}
syslog_fix_perms: root:wheel
{% elif variant in ["suse"] %}
--
2.4
0
.0
2.4
1
.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