From 712dab0efb889efe53816ad76ae82504205ddc64 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Mar 19 2019 18:47:49 +0000 Subject: change cloud user to centos --- 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 34efcd4..0e29715 100644 --- a/SPECS/cloud-init.spec +++ b/SPECS/cloud-init.spec @@ -36,6 +36,8 @@ Patch13: ci-Adding-disk_setup-to-rhel-cloud.cfg.patch # For bz#1684038 - EMBARGOED cloud-init: wrong list of ssh keys added to authorized_keys [rhel-7.6.z] Patch14: ci-azure-Filter-list-of-ssh-keys-pulled-from-fabric.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