To get /etc/rc.local working on CentOS 7, first you need to set it executable.
chmod +x /etc/rc.d/rc.local
Now enable rc-local service with command
systemctl enable rc-local
Now start service.
systemctl start rc-local
Verify it is running properly
systemctl status rc-local