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 b686448..98286db 100644 --- a/SPECS/cloud-init.spec +++ b/SPECS/cloud-init.spec @@ -69,6 +69,8 @@ Patch26: ci-Fix-unit-failure-of-cloud-final.service-if-NetworkMa.patch # For bz#2003231 - anything above 19.2 of cloud init it fails to assign default route and connect to the meta data service Patch27: ci-cloudinit-net-handle-two-different-routes-for-the-sa.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