Added a function to simplify redhat repos creation