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 9be1569..e05748d 100644 --- a/SPECS/cloud-init.spec +++ b/SPECS/cloud-init.spec @@ -61,6 +61,8 @@ Patch22: ci-Changing-notation-of-subp-call.patch # For bz#1871916 - [Azure][RHEL 7.9] cloud-init Permission denied with the use of mount option noexec [rhel-7.9.z] Patch23: ci-DHCP-sandboxing-failing-on-noexec-mounted-var-tmp-52.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