Re: [CentOS] Static configuration: prevent /etc/resolv.conf from being overwritten on first reboot

2021-06-07 Thread Gordon Messmer
On 6/7/21 1:32 AM, Nicolas Kovacs wrote: # Generated by NetworkManager ... Q: how can I prevent /etc/resolv.conf from being overwritten on the initial reboot? Edit /etc/NetworkManager/NetworkManager.conf: [main] dns=none ___ CentOS mailing list

Re: [CentOS] Static configuration: prevent /etc/resolv.conf from being overwritten on first reboot

2021-06-07 Thread James Pearson
Nicolas Kovacs wrote: > > Q: how can I prevent /etc/resolv.conf from being overwritten on the initial > reboot? I vaguely remember having to kill some process before editing it, but > unfortunately I don't remember which one. One way to do this is to create the file

[CentOS] Static configuration: prevent /etc/resolv.conf from being overwritten on first reboot

2021-06-07 Thread Nicolas Kovacs
Hi, Here's something that's puzzling me. Starting from a minimal installation of CentOS 7, network configuration is DHCP. I'm launching nmtui to define a static configuration. I'm providing the IP address as well as the gateway, but no DNS server. I'm quitting nmtui and I'm editing