How To Enable Networking At Boot On CentOS 7?

I booted up CentOS 7 x86_64 Minimal ISO in VirtualBox but it came without pre-enabled networking. According to CentOS 7 FAQ, you can easily enable networking at boot using the following command.

Remember to make sure to edit the correct interface. In my case it was ifcfg-enp0s3 which is based on the new naming scheme of network interfaces.