Merge "Debian: Fix ostree remote pulls for IPv6 workers"

This commit is contained in:
Zuul 2022-11-20 16:00:40 +00:00 committed by Gerrit Code Review
commit 10a4bece22

View File

@ -2989,9 +2989,10 @@ else
# 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"
feed_remote_url="http://controller:8080/feed/rel-${sw_release}/ostree_repo/"
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}
ostree --repo=/sysroot/ostree/repo remote add ${instname} ${feed_remote_url} ${feed_branch}
fi
# Verify Patched iso