On Wed, May 27, 2009 at 09:44:25AM +0800, Arthur Wang wrote:
And i guess it is the repo command to cause this error, for the two line as follows repo --name=released --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/9/Everything/i38... repo --name=updates --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/9/i386/ the reason is that in my company i have to use proxy for network access , but i don't know which tools repo command comes from , and how to set its proxy. Could you give me some suggestion? thank you.
This is a kickstart script, and the 'repo' command is part of kickstart. See:
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installatio...
http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installatio...
I actually have no idea how to specify a proxy for kickstart - it doesn't seem to be covered in the manual. However you might try setting the environment variables $http_proxy and/or $ftp_proxy to point to your internal proxy. eg:
export http_proxy=http://11.22.33.44:3128/
Rich.