Debian: Fix ostree remote pulls for IPv6 workers
The entry for the ostree remote in computes is using pxecontroller. This is an ipv4 address, and therefore will not be accessible on an unlocked IPv6 Worker (or storage). The fix is to use 'controller' instead of 'pxecontroller' That address exists in both ipv4 and ipv6. Test Plan: Debian: Successfully apply a patch to a worker node Closes-Bug: 1997130 Signed-off-by: Al Bailey <al.bailey@windriver.com> Change-Id: Idbc1e2728582ab3cd5c73761790cdd9fbc6d951a
This commit is contained in:
parent
1132443626
commit
32feb4a89a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user