On 08/31/12 07:15 AM, Brian Phipps wrote:
Hi All,
We use a proxy cache hierarchy between our repo and the 4 main locations
where we perform installs. Beyond just performing AI installs to pull
the repo content through the cache's, can anyone think of a way to
"pre-seed" our cache machines with the repo content?
I've tried using pkgrecv in this fashion and it didn't work:
export http_proxy=http://swcache:8080; pkgrecv -s http://repo:10000 -d
/dev/null '*' solaris
This failed because there is no repo setup in /dev/null. Any thoughts on
how I might accomplish something similar to the above to get my bits
cached?
Create a repository in a scratch area, and pkgrecv into it then destroy
the repository.
# pkgrepo create /scratch/foo
# http_proxy=foo pkgrecv -s http://repo:10000 -d /scratch/foo '*'
# rm -rf /scratch/foo
cheers,
tim
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss