Another approach (being you know the future IP address of your
server), is to pass the IPaddr via a boot param, or better yet, use a
kickstart file to fully automate everything else in the installation.
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/installation_guid
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
___