Auto root login Centos 7 / EL 7

sed -i '/ExecStart/ s/agetty/agetty --autologin --root/' /etc/systemd/system/getty.target.wants/getty@tty1.service