Use localectl on rhel 7+

Use localectl on rhel 7+