cloudbase/cloudbase-init — pull request #33 by sw-irou (2014-01-03 17:58:17+00:00)
Title: Allow default gateway for metadata source (for cloudstack)

With the attached commits and configuration entries as below, this allows Cloudbase-init to work with userdata (tested for a simple powershell script) on Cloudstack based cloud providers.

Configuration entries required:
metadata_base_url = 'http://%default_gateway%/latest'
ec2_metadata_base_url = 'http://%default_gateway%/latest'