Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How should one configure the cache of debootstrap globally? I haven't found its configuration file, I have to specify the local mirror all the time.

share|improve this question
add comment

1 Answer

up vote 4 down vote accepted

debootstrap does not have a config file. You can set the environment variable http_proxy for debootstrap to use a http proxy server for caching.

http_proxy=http://proxy.host:port/ debootstrap …

You can also use something like approx to set-up an caching server for debian packages.

If you want to use debootstrap with a config file have a look at grml-debootstrap it is part of debian nowadays. It allows you (besides some other features) to have a global configuration file for all your grml-debootstrap calls.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.