~harlowja/cloud-init/cloud-init-fix-configobj-bound

« back to all changes in this revision

Viewing changes to cloudinit/DataSource.py

  • Committer: Scott Moser
  • Date: 2011-09-22 14:26:50 UTC
  • Revision ID: smoser@ubuntu.com-20110922142650-iy10maib6iqw8s02
cloudinit/DataSource.py: fix bad usage of get_fqdn_from_hosts

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
 
117
117
            hostname = socket.gethostname()
118
118
 
119
 
            fqdn = util.get_fqdn_from_hosts()
 
119
            fqdn = util.get_fqdn_from_hosts(hostname)
120
120
 
121
121
            if fqdn and fqdn.find(".") > 0:
122
122
                toks = fqdn.split(".")