Rocky Linux - Enable network at boot time

Like Centos, Rocky Linux doesn't activate the network card automatically at boot time.
To enable your network at boot time do the following:
1/ Edit your network settings.
sudo vi /etc/sysconfig/network-script/ifcfg-enp0s3

2/ Then change the ONBOOT to yes (this option is case insensitive)