From 28ae00c879e31ddecfbb6186469aa23ee5d251a1 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Mar 16 2021 14:44:50 +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..2f8118b --- /dev/null +++ b/SOURCES/cloud-init-centos-user.patch @@ -0,0 +1,12 @@ +diff -uNrp cloud-init-19.4.orig/rhel/cloud.cfg cloud-init-19.4/rhel/cloud.cfg +--- cloud-init-19.4.orig/rhel/cloud.cfg 2020-10-13 14:40:36.353779891 +0000 ++++ cloud-init-19.4/rhel/cloud.cfg 2020-10-13 14:42:10.121982459 +0000 +@@ -54,7 +54,7 @@ cloud_final_modules: + + system_info: + default_user: +- name: cloud-user ++ name: centos + lock_passwd: true + gecos: Cloud User + groups: [adm, systemd-journal] diff --git a/SPECS/cloud-init.spec b/SPECS/cloud-init.spec index 2ef27c7..8702f9f 100644 --- a/SPECS/cloud-init.spec +++ b/SPECS/cloud-init.spec @@ -65,6 +65,8 @@ Patch24: ci-network-Fix-type-and-respect-name-when-rendering-vla.patch # For bz#1900807 - Update existing user password RHEL7x Patch25: ci-DataSourceAzure-update-password-for-defuser-if-exist.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