Merge "relocate /pxeboot to /var/pxeboot"

This commit is contained in:
Zuul 2022-08-05 04:42:54 +00:00 committed by Gerrit Code Review
commit 85eb57baa6
1 changed files with 2 additions and 2 deletions

View File

@ -92,9 +92,9 @@ if [ "$(curl -sf http://pxecontroller:6385/v1/upgrade/$(hostname)/upgrade_in_pro
cp -r $TMP_RPM/usr / \
|| report_post_failure_with_msg "Failed to copy pxe-network-installer /usr"
cp -r $TMP_RPM/pxeboot/$OTHER_REL_DIR /var/pxeboot/ \
cp -r $TMP_RPM/var/pxeboot/$OTHER_REL_DIR /var/pxeboot/ \
|| report_post_failure_with_msg "Failed to copy pxe-network-installer /var/pxeboot/$OTHER_REL_DIR"
cp $TMP_RPM/pxeboot/pxelinux.cfg.files/*-$OTHER_REL_VERSION /var/pxeboot/pxelinux.cfg.files/ \
cp $TMP_RPM/var/pxeboot/pxelinux.cfg.files/*-$OTHER_REL_VERSION /var/pxeboot/pxelinux.cfg.files/ \
|| report_post_failure_with_msg "Failed to copy pxe-network-installer pxelinux.cfg files"
rm -rf $TMP_RPM