[CentOS] C6: kickstart problems with additional repo

2013-10-08 Thread Rainer Traut
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'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@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C6: kickstart problems with additional repo

2013-10-08 Thread Earl Ramirez
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@centos.org
 http://lists.centos.org/mailman/listinfo/centos

-- 


Kind Regards
Earl Ramirez
GPG Key: http://trinipino.com/PublicKey.asc


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C6: kickstart problems with additional repo

2013-10-08 Thread Rainer Traut
Am 08.10.2013 18:08, schrieb Earl Ramirez:

 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...

No, does not help. GUI still says it needs an active network connection. :(
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C6: kickstart problems with additional repo

2013-10-08 Thread Earl Ramirez
On Tue, 2013-10-08 at 18:20 +0200, Rainer Traut wrote:
 Am 08.10.2013 18:08, schrieb Earl Ramirez:
 
  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...
 
 No, does not help. GUI still says it needs an active network connection. :(
 ___
 CentOS mailing list
 CentOS@centos.org
 http://lists.centos.org/mailman/listinfo/centos

Are you able to establish communication with the web server that is
hosting vmware tools

I do not have the same environment as you, therefore my ks.cfg,
installation media and the repo is on the same FTP server. 

I'm only being asked to configure the network, if I'm not able to
establish communication with the FTP server, verify that the appropriate
access is on file/s that the server need to connect to.
-- 


Kind Regards
Earl Ramirez
GPG Key: http://trinipino.com/PublicKey.asc


signature.asc
Description: This is a digitally signed message part
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C6: kickstart problems with additional repo

2013-10-08 Thread Rainer Traut
Am 08.10.2013 19:05, schrieb Earl Ramirez:

 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...

 No, does not help. GUI still says it needs an active network connection. :(

 Are you able to establish communication with the web server that is
 hosting vmware tools

 I do not have the same environment as you, therefore my ks.cfg,
 installation media and the repo is on the same FTP server.

 I'm only being asked to configure the network, if I'm not able to
 establish communication with the FTP server, verify that the appropriate
 access is on file/s that the server need to connect to.

Yes, I can establish the connection. But at the point when the GUI asks 
for the network connection the interface does not have the IP address 
yet. I verify this on another console with 'ifconfig' and 'ip a l'.
In the %post section I can do wget and other things, so there does not 
seem to be the problem. And once I confirm the eth0 interface in gui it 
gets the ks.cfg network config and install with the configured repo works.

Still I think the repo command cannot be used because I don't have the 
interface configured on kernel command line to get the ks.cfg. I use the 
local floppy disk with 'ks=floppy'


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos