From 60aef0767cf9bb2221a5fa0e0b58b0c54f5e6ed9 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 14 Jun 2021 14:38:38 -0400 Subject: [PATCH] Pull in the diskless profile content for os deploy --- confluent_osdeploy/confluent_osdeploy.spec.tmpl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/confluent_osdeploy/confluent_osdeploy.spec.tmpl b/confluent_osdeploy/confluent_osdeploy.spec.tmpl index ff73d71d..2ec3d209 100644 --- a/confluent_osdeploy/confluent_osdeploy.spec.tmpl +++ b/confluent_osdeploy/confluent_osdeploy.spec.tmpl @@ -65,11 +65,12 @@ for os in rhvh4 el7 el8 genesis suse15 ubuntu20.04 esxi6 esxi7 coreos; do mkdir -p %{buildroot}/opt/confluent/lib/osdeploy/$os/initramfs mkdir -p %{buildroot}/opt/confluent/lib/osdeploy/$os/profiles cp ${os}out/addons.* %{buildroot}/opt/confluent/lib/osdeploy/$os/initramfs + cp -a $os/profiles/* %{buildroot}/opt/confluent/lib/osdeploy/$os/profiles if [ -d ${os}disklessout ]; then mkdir -p %{buildroot}/opt/confluent/lib/osdeploy/${os}-diskless/initramfs cp ${os}disklessout/addons.* %{buildroot}/opt/confluent/lib/osdeploy/${os}-diskless/initramfs + cp -a ${os}-diskless/profiles/* %{buildroot}/opt/confluent/lib/osdeploy/$os-diskless/profiles fi - cp -a $os/profiles/* %{buildroot}/opt/confluent/lib/osdeploy/$os/profiles find %{buildroot}/opt/confluent/lib/osdeploy/$os/profiles -name .gitignore -exec rm -f {} + done