Another approach would be to update hook into the dhclient.d system like
Shimi suggested and then edit the appropriate ifcfg-
scripts found at /etc/sysconfig/network-scripts to hardcode the configs and
then restart the interface. Such a change will guarantee that the config
persists after boot.
Ch
On Wed, Sep 30, 2020 at 4:26 PM David Cohen wrote:
> Hi,
> I'm looking for an automated way to convert the DHCP address a server gets
> during installation to a static IP configuration.
> I have fixed leases so no future conflict is expected.
> Is there a ready to use cli tool/script for CentOS 7
Hi,
I'm looking for an automated way to convert the DHCP address a server gets
during installation to a static IP configuration.
I have fixed leases so no future conflict is expected.
Is there a ready to use cli tool/script for CentOS 7 ?
Best,
David
___