make yum.conf do a user ftp login for baseurl
david walcroft
david_walcroft at yahoo.com.au
Sun Sep 5 00:11:58 UTC 2004
Harry Putnam wrote:
>>>How can I get yum to do a user type ftp login for the baseurl?
>>>It will need username and password at some point.
>
>
> Tom wrote:
>
>>How about something like this: ftp://username:your_passwd@ftp.yoursite.com/$releasever
>
>
> That might work if the ftp server was a real IP on the internet but
> addresses like ftp://... don't seem to work inside my non resolvalbe
> lan.
>
> ftp will find reader.local.net0 but not ftp://reader.local.net0
>
> I wonder if there is a way to work a HERE document or something into
> the syntax?
>
>
This is what I use in yum.conf and works every time.
[updates-ftp]
name=Fedora 2 planetmirror ftp Updates
baseurl=ftp://user:passwd@premium.planetmirror.com/pub/fedora/linux/updates/2/i386
david
More information about the fedora-test-list
mailing list