~cloud-init-dev/cloud-init/trunk

Viewing all changes in revision 1086.

  • Committer: Scott Moser
  • Date: 2015-03-27 19:19:51 UTC
  • Revision ID: smoser@ubuntu.com-20150327191951-2yaj381a74aymg20
NoCloud: the local portion of NoCloud incorrectly claimed datasources

The intent has always been for the local datasource (NoCloud) to require
the provider of metadata to provide 'dsmode=local'.  If that wasn't found,
then the default 'dsmode' would be 'net', and the NoCloudNet datasource
would then find the data.

The bug here was that the default 'net' wasn't being set when
data was found on a local source.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: