Sha256: 61218c16b773bb47e0ffcdc06745c3d909deee4dafd02b4c12c8cf1e1131734b

Contents?: true

Size: 323 Bytes

Versions: 12

Compression:

Stored size: 323 Bytes

Contents

export DEBIAN_FRONTEND="noninteractive"

if ! dpkg --status apt-cacher-ng &> /dev/null; then
  apt-get -y install apt-cacher-ng
  service apt-cacher-ng restart || service apt-cacher-ng start
  grep "^MIRROR" /etc/default/lxc || (echo 'MIRROR="http://127.0.0.1:3142/archive.ubuntu.com/ubuntu"' | tee -a /etc/default/lxc)
fi

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
testlab-1.20.6 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.20.5 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.20.4 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.20.3 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.20.2 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.20.1 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.20.0 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.19.0 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.18.1 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.18.0 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.17.0 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.16.1 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb