Sha256: 380b551053a8a2290ed108c7f635a21afc46c3414b52e0bb2a598d651464b932

Contents?: true

Size: 324 Bytes

Versions: 7

Compression:

Stored size: 324 Bytes

Contents

export DEBIAN_FRONTEND="noninteractive"

if ! dpkg --status apt-cacher-ng &> /dev/null; then
  apt-get -qy 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

7 entries across 7 versions & 1 rubygems

Version Path
testlab-1.22.4 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.22.3 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.22.2 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.22.1 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.22.0 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.21.1 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb
testlab-1.21.0 lib/testlab/provisioners/templates/apt_cacher_ng/provision.erb