Re: [CentOS] CentOS 7 install: closest mirror not supported?
Hi, On Mon, Jun 05, 2017 at 09:28:03AM -0500, Johnny Hughes wrote: > Yes but .. closest mirror only gets as detailed as per country. Maybe my question was not clear: the problem is that the install (when doing a virt-install with boot.iso) does not choose a mirror at all. It just requires that you *explicitly* specify an install URL and it shows an error for "Installation Source" till you have done so. It works ok if you add (via virt-install's --extra-args) inst.repo and/or use a kickstart file (inst.ks) with an "url" directive. -- --Jos Vos--X/OS Experts in Open Systems BV | Office: +31 20 6938364 --Amsterdam, The Netherlands| Mobile: +31 6 26216181 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7 install: closest mirror not supported?
On 06/05/2017 09:28 AM, Johnny Hughes wrote: > On 06/04/2017 10:29 AM, Jos Vos wrote: >> Hi, >> >> Do CentOS 7 installs not automatically use a closest mirror for >> installing like Fedora does, or is that due to the way I'm starting >> the install (virt-install)? >> >> Background: >> >> I'm trying to find the best way to do installs using basic local media >> (network install, but *without* the need to download the squashfs.img >> for every install) but without a full local mirror. On Fedora (25), >> it works fine using a local boot.iso (virt-install -l), but with >> CentOS 7 you then have to manually enter a repository URL. >> >> I also tried a local kernel/pxeboot tree with LiveOS/squashfs.img >> (the latter similar to Fedora's install.img?) with no result. >> > > Yes but .. closest mirror only gets as detailed as per country. > > If you want to add a local mirror to that, then a yum config file change > to add a baseurl to the repo file would be required. Then fastestmirror > would pick the fastest from mirrorlist (10-15 listed machines per > country) and the added local mirror, which would always be fastest > unless it was offline, etc. Actually, I don't KNOW if anaconda will use mirrorlist as a URL in CentOS-7 signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS 7 install: closest mirror not supported?
On 06/04/2017 10:29 AM, Jos Vos wrote: > Hi, > > Do CentOS 7 installs not automatically use a closest mirror for > installing like Fedora does, or is that due to the way I'm starting > the install (virt-install)? > > Background: > > I'm trying to find the best way to do installs using basic local media > (network install, but *without* the need to download the squashfs.img > for every install) but without a full local mirror. On Fedora (25), > it works fine using a local boot.iso (virt-install -l), but with > CentOS 7 you then have to manually enter a repository URL. > > I also tried a local kernel/pxeboot tree with LiveOS/squashfs.img > (the latter similar to Fedora's install.img?) with no result. > Yes but .. closest mirror only gets as detailed as per country. If you want to add a local mirror to that, then a yum config file change to add a baseurl to the repo file would be required. Then fastestmirror would pick the fastest from mirrorlist (10-15 listed machines per country) and the added local mirror, which would always be fastest unless it was offline, etc. signature.asc Description: OpenPGP digital signature ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
[CentOS] CentOS 7 install: closest mirror not supported?
Hi, Do CentOS 7 installs not automatically use a closest mirror for installing like Fedora does, or is that due to the way I'm starting the install (virt-install)? Background: I'm trying to find the best way to do installs using basic local media (network install, but *without* the need to download the squashfs.img for every install) but without a full local mirror. On Fedora (25), it works fine using a local boot.iso (virt-install -l), but with CentOS 7 you then have to manually enter a repository URL. I also tried a local kernel/pxeboot tree with LiveOS/squashfs.img (the latter similar to Fedora's install.img?) with no result. Cheers, -- --Jos Vos--X/OS Experts in Open Systems BV | Office: +31 20 6938364 --Amsterdam, The Netherlands| Mobile: +31 6 26216181 ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos