~harlowja/cloud-init/shared-wait-metadata

Viewing all changes in revision 951.

  • Committer: Joshua Harlow
  • Date: 2014-02-15 00:51:48 UTC
  • Revision ID: harlowja@gmail.com-20140215005148-mrg5l3aqyajp4fhe
Move shared waiting function to util

The ec2 and openstack datasources use a similar
piece of code for waiting for there metadata services
to become accessible (which varies depending on cloud,
service provider...) so its much nicer if we move that
duplicated/similar code to a standard utility method and
use that instead.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: