[ale] CentOS 7 Build questions on network config files

Kyle Brieden kyle at txmoose.com
Tue May 9 14:42:40 EDT 2017


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

---
Very respectfully,
Kyle Brieden

On 09-05-2017 14:11, Jerald Sheets wrote:
> How about:
> 
> cat > /etc/resolv.conf << EOFresolvconf
>   search foo.com
>   nameserver 10.188.168.30
>   nameserver 10.188.71.254
>   nameserver 10.189.128.130
>   EOFresolvconf
> 
> 
> 
> just sayin’...
> 
> 
> —j
> 
> 
> 
>> On May 9, 2017, at 10:03 AM, leam hall <leamhall at gmail.com> wrote:
>> 
>> Anyone doing RHEL/CentOS 7? I'm finally getting to it and have the
>> start of a kickstart file. However, it isn't writing /etc/resolv.conf
>> at all and /etc/sysconfig/network just has "done by anaconda" or
>> something. Anyone got any experience or google-fu on this?
>> 
>> Not using DHCP or NetworkManager. I'm new to systemd and such so it
>> could be me not understanding that.
>> 
>> Thanks!
>> 
>> Leam
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
> 
> 
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0x89C9D831.asc
Type: application/pgp-keys
Size: 3071 bytes
Desc: not available
URL: <http://mail.ale.org/pipermail/ale/attachments/20170509/92cea6c5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://mail.ale.org/pipermail/ale/attachments/20170509/92cea6c5/attachment.sig>


More information about the Ale mailing list