One possible optimisation is combining parts of Kapil's quick provisioning with what the bakery command is doing for cloud images:
sudo lxc-start -d -n juju-precise-template sudo lxc-attach -n juju-precise-template -- apt-add-repository -y ppa:canonical-ci-engineering/ci-airline-phase-0 sudo lxc-attach -n juju-precise-template -- apt-get update sudo lxc-attach -n juju-precise-template -- apt-get install -y bzr dput qemu-utils python-dput python-jenkins python-swiftclient python-novaclient python-glanceclient python-amqplib python-oauth python-launchpadlib python-tastypie python-django-south python-yaml python-lazr.enum python-requests python-jinja2 sudo lxc-attach -n juju-precise-template -- apt-get -yu upgrade sudo lxc-attach -n juju-precise-template -- rm -Rf /var/lib/cloud sudo lxc-stop -n juju-precise-template -- Mailing list: https://launchpad.net/~canonical-ci-engineering Post to : [email protected] Unsubscribe : https://launchpad.net/~canonical-ci-engineering More help : https://help.launchpad.net/ListHelp

