/etc/dhcp/dhclient.conf not running automatically

Posted on

I'm running /etc/dhcp/dhclient.conf on a rhel8 system in Azure cloud (client's choice--not mine).

However, to get /etc/dhcp/dhclient.conf to superseded Microsoft's "reddog" in resolv.conf, it has to be run, using:

dhclient -r;dhclient -v

Which releases, and renews the configuration (must be on same line, or the server becomes unreachable, obviously).


The problem is that "dhclient" must be run manually.

How do I get it to run at startup?

Responses