repo detect for XenServer and RedHat update