Hi Luc

I had the same problem. The problem was, that the resolv.conf got changed to 
early... So I made the following changes to the default kickstart template [ 
see the line "$SNIPPET('post_install_network_config')" ]:

%post
$SNIPPET('log_ks_post')
# Start yum configuration 
$yum_config_stanza
# End yum configuration
$SNIPPET('post_install_kernel_options')
# $SNIPPET('post_install_network_config')
$SNIPPET('func_register_if_enabled')
$SNIPPET('download_config_files')
$SNIPPET('koan_environment')
$SNIPPET('cobbler_register')
$SNIPPET('first_login')
# Enable post-install boot notification
$SNIPPET('post_anamon')
# Start final steps
$kickstart_done
$SNIPPET('post_install_network_config')
# End final steps

Now it works fine on our site.

Hope this may help you too!

Best regards
Adrian

-----Ursprüngliche Nachricht-----
Von: [email protected] 
[mailto:[email protected]] Im Auftrag von Luc de Louw
Gesendet: Sonntag, 31. Januar 2010 12:10
An: [email protected]
Betreff: Different networks during and after installation

Hi there,

I got cobbler up and running, work perfect. After going to a more 
production ready setup I detected some problems.

What I want to is the following:

1. Having the cobbler server in a separate install network
2. Getting an temporary IP from cobblers, DHCP
3. System installation by PXE
4. Register to a RHN Satellite
5. yum -y update
6. Configuring production Network with static IP
7. Power down the system
8. Unplug install network cable and plug in production network cable

I changed the DHCP template to disable IP reservation successfully, so 
up to step 3 all went fine. For tests with Centos I skip step 4 for the 
moment.

It seems that the pre_install_network_config snippet is configuring the 
network too early away from the DHCP settings which ends up in no 
network connectivity causing yum update failing.

Any idea how to change the snippets and/or ks template to get the above 
steps done?

Thanks,

Luc

_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to