[CentOS] C6: kickstart problems with additional repo

Earl Ramirez earlaramirez at gmail.com
Tue Oct 8 16:08:30 UTC 2013


On Tue, 2013-10-08 at 17:42 +0200, Rainer Traut wrote:
> Hi,
> 
> I'm kickstarting a vm in ESXi 5.1.
> 
> ks.cfg is on floppy, install media is ISO file.
> 
> This works great as long as I don't add an additional repo, in our case 
> it is vmware tools on one of our webservers.
> 
> If I add the repo line, anaconda asks then for the used network card and 
> indeed, switching to console the interfaces are still unconfigured.
> Chosing eth0 in gui continues the installation!
> 
> This is the relevant part of ks.cfg
> 
> install
> cdrom
> lang de_DE.UTF-8
> keyboard de-latin1
> skipx
> 
> network --onboot yes --device eth0 --bootproto static 
> --ip=192.168.200.28 --netmask=255.255.255.0 --gateway=192.168.200.1 
> --nameserver=192.168.200.9
> --noipv6
> network --onboot no --device eth1 --bootproto static --noipv6
> network --onboot no --device eth2 --bootproto static --noipv6
> 
> repo --name=vmware51 
> --baseurl=http://xxx/repo/vmware/5.1/rhel6Server-x86_64/
> 

I think you need to add the --cost=100

--baseurl=http://xxx/repo/vmware/5.1/rhel6Server-x86_64/ --cost=100

> I'm beginning to think the problem is, my install media is ISO and I 
> have an additional http repo which is not available in this stage...
> 
> Is there any workaround?
> 
> Thx
> Rainer
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 


Kind Regards
Earl Ramirez
GPG Key: http://trinipino.com/PublicKey.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 316 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20131008/d0feba4f/attachment.sig>


More information about the CentOS mailing list