~rharding/pyjuju/rapi-rollup

« back to all changes in this revision

Viewing changes to juju/providers/common/utils.py

  • Committer: Kapil Thangavelu
  • Date: 2013-01-29 18:18:59 UTC
  • mfrom: (616.2.17 rapi-w-static)
  • Revision ID: kapil@canonical.com-20130129181859-gnutmc9072tgykx7
Merged rapi-w-static into rapi-rollup.

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
        "packages": [],
128
128
        "output": {"all": "| tee -a /var/log/cloud-init-output.log"}}
129
129
 
 
130
    if os.environ.get("JUJU_TESTING") == "fast":
 
131
        cloud_config['apt_update'] = False
 
132
        cloud_config['apt_upgrade'] = False
 
133
 
130
134
    if data:
131
135
        cloud_config["machine-data"] = data
132
136