~harlowja/cloud-init/cloud-init-dns-sysconfig

Viewing all changes in revision 1241.

  • Committer: Scott Moser
  • Date: 2016-06-16 03:20:22 UTC
  • mfrom: (1234.1.5 trunk.1592505)
  • Revision ID: smoser@ubuntu.com-20160616032022-379n7u2a60y118zc
DataSourceNoCloud: fix stack trace on reboot, default to dsmode=net

On reboot (loading module from obj.pkl) we would hit a AttributeError
when trying to access cmdline_id.
Addtionally, dsmode was inadvertantly defaulting to local for
DataSourceNoCloud.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: