Red Hat Bugzilla – Bug 658627
RFE: more descriptive names for yum repos in provisioned machines
Last modified: 2012-09-13 10:56:13 EDT
Description of problem:
Upon provisioning a machine with beaker, the yum repositories aren't descriptively named: they are all of the form "beaker-distro([0-9]+)"
# yum repolist
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
repo id repo name status
beaker-distro1 beaker-distro1 enabled: 32
beaker-distro2 beaker-distro2 enabled: 36
beaker-distro3 beaker-distro3 enabled: 2,291
beaker-distro4 beaker-distro4 enabled: 35
beaker-distro5 beaker-distro5 enabled: 13
beaker-harness beaker-harness enabled: 43
beaker-tasks beaker-tasks enabled: 7,229
Is it possible to make them a bit more descriptive? (yum uses them in various places in the textual UI, and right now I never know quite what I'm getting)
e.g. (on this host), something like the following would be nice:
(taken by mangling up the baseurl by hand)
(I'm not sure what yum's repo naming restrictions are, but I'm guessing alphanumeric-plus-dashes and not too long would do it)