lxc-create doesn't take advantage of the apt proxy
Bug #1081786 reported by
Matt Ray
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lxc (Ubuntu) |
Fix Released
|
Wishlist
|
Serge Hallyn |
Bug Description
While using lxc-create to build containers I see it's building the base OS in /var/cache/lxc and re-downloading a whole lot of .debs. I am using apt-cacher-ng, but lxc-create is ignoring the /etc/apt/
Changed in lxc (Ubuntu): | |
assignee: | nobody → Serge Hallyn (serge-hallyn) |
status: | Triaged → In Progress |
To post a comment you must log in.
Thanks for reporting this bug.
You can work around this by editing /etc/default/lxc and setting
MIRROR="http:// 10.0.3. 1:3142/ archive. ubuntu. com/ubuntu"
(That is assuming you are using the default lxcbr0.)