From dcbeade4d98aa860fe9f9b03bf935ca4f77135cc Mon Sep 17 00:00:00 2001 From: Luis Eduardo Bonatti Date: Wed, 20 Mar 2024 11:27:54 -0300 Subject: [PATCH] Show installed software release in the subcloud The command software list is not returning the correct software release on subcloud, it is returning empty list instead. This commit fix this issue by creating the USM metadata directories under /opt/software for subclouds too. Test Plan: PASS: Software list returning proper data. Story: 2010676 Task: 49746 Relates-to: https://opendev.org/starlingx/metal/commit/e37f69765ee4b9e85552cee44065d2f35e4003ab https://opendev.org/starlingx/metal/commit/6c863b382896131f7aa1d04e9a76663f955b80d3 Change-Id: I55554709f377b725db535bc32d316a9586996693 Signed-off-by: Luis Eduardo Bonatti --- kickstart/files/miniboot.cfg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kickstart/files/miniboot.cfg b/kickstart/files/miniboot.cfg index b1c25471..5b76e846 100644 --- a/kickstart/files/miniboot.cfg +++ b/kickstart/files/miniboot.cfg @@ -2939,9 +2939,9 @@ if [ "${controller}" = true ] ; then # If the miniboot ISO contains a patches directory if [ -d "/instboot/patches" ]; then ilog "Prepatched iso" - ilog "Creating patching metadata directories" - mkdir -p ${IMAGE_ROOTFS}/var/rootdirs/opt/patching/metadata/{committed,available,applied} - cp -a /instboot/patches/* ${IMAGE_ROOTFS}/var/rootdirs/opt/patching/metadata/committed/ + ilog "Creating USM metadata directories" + mkdir -p ${IMAGE_ROOTFS}/var/rootdirs/opt/software/metadata/{committed,available,deployed} + cp -a /instboot/patches/* ${IMAGE_ROOTFS}/var/rootdirs/opt/software/metadata/deployed/ fi # copy efi.img to /var/pxeboot to enable duplex/multinode subclouds