Comment 1 for bug 1203816

Revision history for this message
Sidnei da Silva (sidnei) wrote :

Linked my bare attempt. This sources /etc/default/lxc for a MIRROR setting and then sends that via cloud-init 'apt_mirror' setting, which is exactly what the ubuntu-cloud lxc template does.

If you install apt-cacher-ng in the host and then set

  MIRROR="http://10.0.3.1:3142/archive.ubuntu.com/ubuntu"

Then it will just work.