commit 2ba470a29f7f706aeb5889adfa4657356fc65b35
Author: Samuel Presa Toledo <email address hidden>
Date: Mon May 9 16:00:23 2022 -0400
Adjust pxeboot config files path in an upgrade
During the upgrade from stx6.0 to stx7.0, the content of
/opt/platform/config/22.06/pxelinux.cfg/ is copied from the previous
release. This way, the grub.cfg, which is a symlink, points to
/pxeboot/pxelinux.cfg.files/grub.cfg. As in release stx7.0
/pxeboot was moved to /var/pxeboot, the symlink should be recreated
to point the correct path, which is
/var/pxeboot/pxelinux.cfg.files/grub.cfg. This fix recriates the symlink
pointing to the correct path.
Reviewed: https:/ /review. opendev. org/c/starlingx /config/ +/841163 /opendev. org/starlingx/ config/ commit/ 2ba470a29f7f706 aeb5889adfa4657 356fc65b35
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 2ba470a29f7f706 aeb5889adfa4657 356fc65b35
Author: Samuel Presa Toledo <email address hidden>
Date: Mon May 9 16:00:23 2022 -0400
Adjust pxeboot config files path in an upgrade
During the upgrade from stx6.0 to stx7.0, the content of platform/ config/ 22.06/pxelinux. cfg/ is copied from the previous pxelinux. cfg.files/ grub.cfg. As in release stx7.0 pxeboot/ pxelinux. cfg.files/ grub.cfg. This fix recriates the symlink
/opt/
release. This way, the grub.cfg, which is a symlink, points to
/pxeboot/
/pxeboot was moved to /var/pxeboot, the symlink should be recreated
to point the correct path, which is
/var/
pointing to the correct path.
Note: ingress- controller integ-apps
cert-manager
nginx-
oidc-auth-apps
platform-
The above apps were removed from upgrade path on 65-k8s- app-upgrade. sh
script to finish upgrade process successfully
Test plan
PASS: Run initial bootstrap successfully
PASS: Upgrade AIO-DX from stx6.0 to stx7.0
Closes- bug:1972572
Signed-off-by: Samuel Presa Toledo <email address hidden> 295089e922e98d2 acd207cabdb
Change-Id: Icb2b026ccac583