diff --git a/kickstart/files/kickstart.cfg b/kickstart/files/kickstart.cfg index 88a93657..a9d7439a 100644 --- a/kickstart/files/kickstart.cfg +++ b/kickstart/files/kickstart.cfg @@ -2347,7 +2347,15 @@ if [ "${controller}" = true ] ; then ln -s ../../pxelinux.cfg/grub.cfg fi popd > /dev/null - +else + # This is used by patching. + # For non-controller system node installs (worker/storage) we need to + # update the ostree remote to be the url to the pxecontroller's ostree_repo + # and set the remote debian branches to starlingx. + feed_branch="starlingx" + ilog "Replacing ostree sysroot remote with: ${feed_branch}" + ostree --repo=/sysroot/ostree/repo remote delete ${instname} + ostree --repo=/sysroot/ostree/repo remote add ${instname} ${insturl} ${feed_branch} fi # Save the install scripts and kickstart logs