This article is aimed to help,
Execute the following commands
$
cd
/etc/yum
.repos.d/
$
cat
./!(photon-iso.repo) |
grep
baseurl
There are two ways to change the default package repository location in Photon OS
Execute the command as shown below and it is as simple as that
Command to execute :-
$ tdnf update photon-repos
$
cd
/etc/yum
.repos.d/
$
sed
-i
's/dl.bintray.com\/vmware/packages.vmware.com\/photon\/$releasever/g'
photon.repo photon-updates.repo photon-extras.repo photon-debuginfo.repo
$
cd
/etc/yum.repos.d/
$
cat ./!(photon-iso.rpo) | grep baseurl