From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801 Description of problem: On a vanilla RedHat 7.1 box, setting up the networking using the command line version of 'netconfig' doesn't work with the --nameserver arguement. This is very important for custom configuration scripts. This worked in 6.2 (running 'netconfig --device=eth0 --nameserver=5.5.5.5' would add a "NS1=5.5.5.5" to the /etc/sysconfig/network-scripts/ifcfg-eth0 file, and configure networking accordingly.) Looking at the source code, this option appears to be silently ignored. Questions: How does one set up the nameserver through netconfig command line arguements now? Why does this documented feature silently fail? and what other options are there for specifying the DNS server through the command line? thank you, john.c Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. run 'netconfig --device=eth20 --bootproto=none --ip=1.1.1.1 --netmask=255.255.255.0 --gateway=1.1.1.2 --nameserver=5.5.5.5 2. look at the resulting /etc/sysconfig/network-scripts/ifcfg-eth20 3. Notice nowhere is there a "NAMESERVER=" or "NS1=" option. Actual Results: see above. Expected Results: there should be a NAMESERVER= or NS1= or something in the ifcfg-? file that will tell the networking to reconfigure the DNS for this interface. Additional info:
closing as supported products don't use pump anymore