Affects Version/s: None
Fix Version/s: RAZOR 1.5.0
Inspired by user feedback.
Two feasible use cases for needing a command like this are:
- A user notices a mistype of the source for a repo after creating it
- A user decides that a policy should use a different repo (OS update without messing with the policy list)
Updating a policy's repo will provide this functionality with little interruption to existing installs, if any are occurring. This command should simply update the reference so that repo file requests can be immediately redirected to the new repo.
Arguments should be `policy` and `repo`.
Positional arguments should be (1) [policy] (2) [repo].
- Add command to update the reference that a policy holds toward a repo
- Stop errors from being thrown when a repo is deleted but its ISO is not downloaded yet. (Hint: add an exception/log to the command and continue without raising an exception)