Merge "Debian KS: Adds starlingx to ostree branches for non-controller nodes"
This commit is contained in:
commit
ed1704d131
@ -2347,7 +2347,15 @@ if [ "${controller}" = true ] ; then
|
|||||||
ln -s ../../pxelinux.cfg/grub.cfg
|
ln -s ../../pxelinux.cfg/grub.cfg
|
||||||
fi
|
fi
|
||||||
popd > /dev/null
|
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
|
fi
|
||||||
|
|
||||||
# Save the install scripts and kickstart logs
|
# Save the install scripts and kickstart logs
|
||||||
|
Loading…
Reference in New Issue
Block a user