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

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

 



On Wed, 5 Nov 2003, Nicolas Turro wrote:

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

If you're getting your systems are getting their IP addresses via DHCP in 
each of those places, you shouldn't actually have to set the "PEERDNS" 
variable, at all.  The DHCP servers should be sending the DNS server info, 
by default, and the dhcpc proces will modify the resolv.conf file as 
needed.

-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe


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