[Mageia-sysadm] [871] do not hardcode our domain name

Michael Scherer misc at zarb.org
Sun Jan 23 09:51:30 CET 2011


Le vendredi 21 janvier 2011 à 15:26 +0100, Jerome Quelin a écrit :
> On 11/01/21 15:10 +0100, root at mageia.org wrote:
> > -	    remoteurl => 'rsync://rsync.mageia.org/bootstrap',
> > +	    remoteurl => "rsync://rsync.$domain.org/bootstrap",
> >  
> > -	    remoteurl => 'rsync://rsync.mageia.org/mageia',
> > +	    remoteurl => "rsync://rsync.$domain/mageia",
> 
> i don't know anything about that or what you're trying to achieve, but
> there's likely an error in the first snippet. (s/$domain.org/$domain/)

Yup, sorry about that, I guess I shouldn't do sysadmin while being in a
meeting.

For the reference, I have changed mageia.org to $domain because this is
used as a variable, given by facter. 

The goal is double :
- be able to reuse the configuration if the domain name must be changed
( like, forking or someone sue us )
- more realistically, deploy a test infrastructure using different
domain name to avoid interference ( like what I do on my own network ).


-- 
Michael Scherer



More information about the Mageia-sysadm mailing list