From 971e086c2354c8d3e5c2e8803c110be2441183f4 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Apr 28 2020 20:49:20 +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 f7de1e6..810391a 100644 --- a/SPECS/cloud-init.spec +++ b/SPECS/cloud-init.spec @@ -41,6 +41,7 @@ Patch17: ci-cc_mounts-check-if-mount-a-on-no-change-fstab-path.patch # For bz#1707725 - [WALA][cloud] cloud-init dhclient-hook script has some unexpected side-effects on Azure Patch18: ci-Revert-azure-ensure-that-networkmanager-hook-script-.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