Resend: Anaconda modifying network files

Bryan Kearney bkearney at redhat.com
Wed Mar 5 20:42:09 UTC 2008


Good thing I am clever :)

-- bk


Michael DeHaan wrote:
> Caetano, Greg wrote:
>> Bryan:
>>
>> I take care of removing all those "specifics" as part of the %post of 
>> a kickstart
>>
>>
>>   
> So in that case, you still have to run system-config-network at 
> firstboot (or equivalent)?    That seems reasonable -- you may be 
> handing something to someone with a static IP setup, you don't know.    
> Rethinking it, if you clear things out in %post and also feed it network 
> details in the libvirt XML, maybe that's good enough...
> 
> Still, I'm not sure of a way to do that fully automatically and get them 
> all unique MACs without being rather clever...
> 
> 
>> Greg Caetano
>> HP ISS Linux Virtualization Solutions Engineering
>> Chicago, IL
>> greg.caetano at hp.com
>> Red Hat Certified Engineer
>> RHCE#805007310328754
>>
>> -----Original Message-----
>> From: kickstart-list-bounces at redhat.com 
>> [mailto:kickstart-list-bounces at redhat.com] On Behalf Of Bryan Kearney
>> Sent: Wednesday, March 05, 2008 1:33 PM
>> To: kickstart-list at redhat.com
>> Subject: Resend: Anaconda modifying network files
>>
>> I am using cobbler/koan to generate xen disk images. After a successful
>> install, if I mount the image I see infomation in various networking
>> files which denote the information about the network I built the image
>> on. Specifically:
>>
>>
>> /etc/hosts has the ip address and dhcp fqdn of the image when anaconda
>> was running.
>> /etc/sysconfig/network has the fgdn of the image when anaconda was 
>> running.
>> /etc/sysconfig/network-scripts/ifcfg-eth0 has the MAC address given out
>> by xen.
>>
>> Is there a way to configure anaconda to not mutate these files?
>>
>> Thanks!
>>
>> -- bk
>>
>> _______________________________________________
>> Kickstart-list mailing list
>> Kickstart-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/kickstart-list
>>
>> _______________________________________________
>> Kickstart-list mailing list
>> Kickstart-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/kickstart-list
>>   
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list




More information about the Kickstart-list mailing list