~therve/cloud-init/fix-landscape-config-precise

« back to all changes in this revision

Viewing changes to cloud-init.py

  • Committer: Scott Moser
  • Date: 2012-04-11 04:04:57 UTC
  • mfrom: (1.1.25)
  • Revision ID: smoser@ubuntu.com-20120411040457-qpe5gz1i0j9t7con
* New upstream release.
  * improve chef examples for working configurations on 11.10 and 12.04
    [Lorin Hochstein] (LP: #960564)
  * fix bug in landscape module if /etc/landscape did not exist
    (LP: #978329)

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
        if os.path.exists(target):
77
77
            cmdline_msg = "cmdline: %s existed" % target
78
78
        else:
79
 
            cmdline=util.get_cmdline()
 
79
            cmdline = util.get_cmdline()
80
80
            try:
81
81
                (key, url, content) = cloudinit.get_cmdline_url(
82
82
                    cmdline=cmdline)