Clean way of setting usepeerdns in /etc/sysconfig/network-scripts/ifcfg-eth0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 

When installing laptops i need to setup the usepeerdns option in the
 /etc/sysconfig/network-scripts/ifcfg-eth0
file in order to rebuild /etc/resolv.conf according to the local network i am 
connecting to (university, work, hotel...).

Can someone give me the 'clean' way of doing this at install-time with 
kickstart ?
Should i use a post-install script that appends directly
PEERDNS=yes
in /etc/sysconfig/network-scripts/ifcfg-eth0 ?

or is there a redhat-specific procedure to do this automatically at 
install-time.

Nicolas.

(of course, i know how to do this using neat or redhat-configure-network-gui, 
but this is not an option for automatically installing tens of laptops).




-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux