yum from cron setting http_proxy
Neal D. Becker
ndbecker2 at verizon.net
Tue Jul 13 17:02:32 UTC 2004
Enrico Scholz wrote:
> ndbecker2 at verizon.net ("Neal D. Becker") writes:
>
>> 1) I need http_proxy set. I tried adding a script to /etc/profile.d, but
>> AFAICT, cron isn't executing it. Any suggestions? I don't want to
>> modify yum scripts, because I'm afraid my change will be lost - and
>> this isn't really yum specific.
>
> Add 'http_proxy=...' at the top of /etc/crontab (there should be already
> some variables).
>
> But be warned; yum's proxy support is not complete as it does not
> support $no_proxy. Seems to be a general problem: the thing which is
> called "webbrowser" in Gnome2 does not have this either. :(
>
>
>
I guess, but I need to do this to a whole cluster. It's a bit awkward to
have to insert a line into an existing file - a lot easier to just add a
file to a directory. Oh well.
More information about the fedora-devel-list
mailing list