[Yum] variable substitution in conf file

seth vidal skvidal at phy.duke.edu
Fri Sep 2 19:57:26 UTC 2005


On Fri, 2005-09-02 at 10:29 -0700, iank at mac.com wrote:
> Hi all,
> 
> Is there a simple way to use a variable in a conf file or reposdir con 
> file?
> It would be nice to set say the URL somewhere and then have a line 
> similar
> to:
> 
> baseurl=$URL/path/to/centos/repo
> 

pydoc ConfigParser

and read what it has therein.

-sv





More information about the Yum mailing list