I have a very very slow internet connection but a very very fast local network which mirrors Ubuntu repositories. I'm trying to run gitian for building, but it takes forever for the
make-base-vm command to run. As far as I understand, Ubuntu is being downloaded at this stage. If that is the case, is there a way I can use my local mirror instead of the regular Ubuntu server?
I have been trying to fiddle with the actual file and with setting MIRROR_HOST as an environment variable, but it does not work. The local mirror is something like:
http://mirror.my-local-lan.com/ubuntu. This mirror is accessible from both source and guest of the VM.
FYI here is the code of make-base-vm:
https://github.com/devrandom/gitian-builder/blob/master/bin/make-base-vm