<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Haven’t done it with Kickstart but I found on RHEL7 it expects the DNS entries to be defined in your primary interface (e.g. ifcfg-eth0) and will overwrite
resolv.conf with that on start up because of Network Manager. Network Manager on RHEL7 (and even later versions of RHEL6) is much better than the early RHEL6 implementation so I use it most of the time these days. We use static IPs in our ifcfg-* files
as we always have – not DHCP.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">You can of course manually edit resolv.conf but as noted it will get overwritten any time networking is restarted (even without DHCP).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">By the way, doesn’t Kickstart expect DHCP for initial IP assignment?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> ale-bounces@ale.org [mailto:ale-bounces@ale.org]
<b>On Behalf Of </b>James Sumners<br>
<b>Sent:</b> Tuesday, May 09, 2017 2:59 PM<br>
<b>To:</b> kyle@txmoose.com; Atlanta Linux Enthusiasts<br>
<b>Subject:</b> Re: [ale] CentOS 7 Build questions on network config files<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Tue, May 9, 2017 at 2:42 PM, Kyle Brieden <<a href="mailto:kyle@txmoose.com" target="_blank">kyle@txmoose.com</a>> wrote:<o:p></o:p></p>
<p class="MsoNormal">The problem with this is that on reboot or some other event that systemd deems worthy, there's a process (I think it's called resolvconf now?) that'll come through and stomp /etc/resolv.conf later with what it is configured for, and if
it isn't configured, then it'll just stomp it into oblivion. :|<o:p></o:p></p>
</div>
<p class="MsoNormal"><br>
Yep. Embrace your new non-deterministic magic black box system overlord when you must deal with systems where it is present. For networking, my choice was DHCP because of issues just like this: not being able to manually specify my configuration and getting
it to apply or stick. I feel for those who cannot make the same choice; I have no idea what you can do to solve the problem.<br>
<br clear="all">
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">-- <o:p></o:p></p>
<div>
<p class="MsoNormal">James Sumners<br>
<a href="http://james.sumners.info/" target="_blank">http://james.sumners.info/</a> (technical profile)<br>
<a href="http://jrfom.com/" target="_blank">http://jrfom.com/</a> (personal site)<br>
<a href="http://haplo.bandcamp.com/" target="_blank">http://haplo.bandcamp.com/</a> (music)<o:p></o:p></p>
</div>
</div>
</div>
</div>
</body>
</html>