From 1302e96eb6884c411b99f3623511d90ede0b1a94 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Nov 04 2018 15:56:35 +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 54ddb89..4f3b5a0 100644 --- a/SPECS/cloud-init.spec +++ b/SPECS/cloud-init.spec @@ -34,6 +34,8 @@ Patch12: ci-azure-Add-reported-ready-marker-file.patch # For bz#1633282 - [Azure] cloud-init fails to mount /dev/sdb1 after stop(deallocate)&&start VM Patch13: ci-Adding-disk_setup-to-rhel-cloud.cfg.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