provisioner: remove repos before adding ours#1497
provisioner: remove repos before adding ours#1497bmwiedemann wants to merge 1 commit intocrowbar:masterfrom
Conversation
to make it easier to re-run crowbar_register in case of errors
|
can't users have some custom repos? (on the other hand, we're doing this as well during the upgrade) |
|
They could have custom repos, but then those repo names could collide with crowbar's too ... and if they are not SUSE repos, packages could collide which we do not want to support. |
|
But if the customer wants to add custom repositories, when would they need to add them? Is |
|
it only runs once. an alternative would be to do |
|
|
nicolasbock
left a comment
There was a problem hiding this comment.
Thanks @bmwiedemann for the additional info. I agree with you and @jsuchome that this seems ok to do at this point.
vuntz
left a comment
There was a problem hiding this comment.
I'd really prefer going the zypper rr way: crowbar_ register is used for systems that are pre-installed, and it's very likely they would have existing repos for a good reason. Dropping them would just be annoying.
to make it easier to re-run crowbar_register in case of errors