This commit addresses a few things: - "basearch" was being passed when enabling RHEL atomic kickstart repo, where there is no $basearch needed for the CDN. This is because we are using the value "Unspecified" to fill in the UI when there is no arch. This was making its way into the API call, where basearch shouldn't be defined. - The error message being returned wasn't properly templated. This was fixed and tests are added. - "Kickstarter" is an crowdsourcing site and shouldn't be an option in the content type drop down :stuck_out_tongue_closed_eyes:
Related issues
Bug #24134: Red Hat Enterprise Linux Atomic Host (Kickstart) fails to enable
Fixes #24134 - Error enabling atomic kickstart repo
This commit addresses a few things:
- "basearch" was being passed when enabling RHEL atomic kickstart repo,
where there is no $basearch needed for the CDN. This is because we
are using the value "Unspecified" to fill in the UI when there is
no arch. This was making its way into the API call, where basearch
shouldn't be defined.
- The error message being returned wasn't properly templated. This was
fixed and tests are added.
- "Kickstarter" is an crowdsourcing site and shouldn't be an option
in the content type drop down :stuck_out_tongue_closed_eyes: