Upon reviewing this section of code more:

   [...]
   474              idx = mirror.find("://")
   475              method = mirror[:idx]
   476              mirror = mirror[idx+3:]
   477  
   478              idx = mirror.find("/")
   479              host = mirror[:idx]
   480              mirror = mirror[idx+1:]
   481  
   482              idx = mirror.rfind("/dists/")
   483              suite = mirror[idx+7:]
   484              mirror = mirror[:idx]
   485  
   486              mirror_data = "--method=%s --host=%s --root=%s --dist=%s " 
% ( method , host , mirror , suite )
   [...]

I think now I know how to use this feature. In this case, I recommend to update 
the documentation so that the correct syntax is shown explicity.

Regards,

-- Zack
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to