Endpoints are taken in following order of precedence (highest to lowest): - --endpoints - GD2_ENDPOINTS (environment variable) - (default value) Fixes: #1291 Signed-off-by: Aravinda VK <avishwan@redhat.com>