[ale] CentOS 7 Build questions on network config files

Elliot Holden elliot at elliotmywebguy.com
Tue May 9 12:33:42 EDT 2017


Hi Leam,


I'm not really up on using a kickstart file but I'm into using systemd 
and nmcli. So if you are trying to set your network interfaces up, I 
highly recommend nmcli. The good thing about nmcli is when you forget 
options to the the command you can always us -h to get help. Here is how 
to set up an interface using nmcli:


nmcli con mod /static-eno1 /ipv4.dns 192.168.2.1


"con" is short for connection

"mod" is short for modify

"static-eno1" is the name of you connection (not interface, interfaces 
can half multiple connection setups)


You mentioned the resolv.conf so that's why I showed the DNS thing


E;


Elliot Holden
706-231-9776
elliot at elliotmywebguy.com
http://www.elliotmywebguy.com

On 5/9/17 10:03 AM, leam hall 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ale.org/pipermail/ale/attachments/20170509/0f819171/attachment.html>


More information about the Ale mailing list