So if you do a fresh “minimal” installation of CentOS 7 you might run into this issue when trying to run
bash$: ifconfig: command not found
The problem is that ifconfig is part of the net-tools package which is no longer installed by default on the minimal install.
sudo yum install net-tools ifconfig
And you’re up and running again!