From dd22313aed7f6c930665242df2bb7ec1f082376e Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Jun 24 2020 15:03:13 +0000 Subject: Manual CentOS Debranding --- diff --git a/SOURCES/cloud-init-centos-user.patch b/SOURCES/cloud-init-centos-user.patch new file mode 100644 index 0000000..3ebaa88 --- /dev/null +++ b/SOURCES/cloud-init-centos-user.patch @@ -0,0 +1,12 @@ +diff -uNrp cloud-init-18.2.orig/rhel/cloud.cfg cloud-init-18.2/rhel/cloud.cfg +--- cloud-init-18.2.orig/rhel/cloud.cfg 2018-11-04 15:38:13.763701007 +0000 ++++ cloud-init-18.2/rhel/cloud.cfg 2018-11-04 15:41:06.934576619 +0000 +@@ -52,7 +52,7 @@ cloud_final_modules: + + system_info: + default_user: +- name: cloud-user ++ name: centos + lock_passwd: true + gecos: Cloud User + groups: [wheel, adm, systemd-journal] diff --git a/SPECS/cloud-init.spec b/SPECS/cloud-init.spec index 4aa2ff4..544add5 100644 --- a/SPECS/cloud-init.spec +++ b/SPECS/cloud-init.spec @@ -69,6 +69,9 @@ Patch31: ci-ec2-Add-support-for-AWS-IMDS-v2-session-oriented-55.patch # For bz#1832177 - [Azure] cloud-init provisioning failed in Azure [rhel-7.8.z] Patch32: ci-url_helper-read_file_or_url-should-pass-headers-para.patch +Patch9999: cloud-init-centos-user.patch + + # Deal with noarch -> arch # https://bugzilla.redhat.com/show_bug.cgi?id=1067089 Obsoletes: cloud-init < 0.7.5-3