From 09fc80979d556630274a3582bf7ae243af9bd361 Mon Sep 17 00:00:00 2001 From: Robert Church Date: Wed, 20 Apr 2022 00:11:58 -0400 Subject: [PATCH] Debian: Adjust temp fix for /etc/platform.conf Now that kickstarts are enabled, adjust the early workaround generating the contents of /etc/platform/platform.conf. This needs to be fully removed after fixing the openstack-dashboard package. Test Plan: PASS - Build ISO PASS - Install ISO PASS - Run Ansible bootstrap Change-Id: Ie2152ed579b64504a66d14a44f6e04e4dd4ba895 Story: 2009964 Task: 45131 Signed-off-by: Robert Church --- .../config/debian/common/base-bullseye.yaml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/debian-mirror-tools/config/debian/common/base-bullseye.yaml b/debian-mirror-tools/config/debian/common/base-bullseye.yaml index fd4a82d79..fb5436523 100644 --- a/debian-mirror-tools/config/debian/common/base-bullseye.yaml +++ b/debian-mirror-tools/config/debian/common/base-bullseye.yaml @@ -54,14 +54,11 @@ rootfs-pre-scripts: groupadd nobody SCRIPT_ENDOF - |- - # FIXME: Temporary - Centos kickstarts set initial view of this file + # FIXME: openstack-dashboard will not install without this due to + # FileNotFoundError: [Errno 2] No such file or directory: '/etc/platform/platform.conf' + # dpkg: error processing package openstack-dashboard (--configure): mkdir -p -m 0775 $IMAGE_ROOTFS/etc/platform cat << SCRIPT_ENDOF > $IMAGE_ROOTFS/etc/platform/platform.conf - nodetype=controller - subfunction=controller,worker - system_type=All-in-one - security_profile=standard - management_interface=lo SCRIPT_ENDOF rootfs-post-scripts: - |-