metadataService: Check both ec2 and openstack urls more explicitly

Remove the root url parameter for -from-metadata-service since this
is a guarenteed value. Additionally, check for both ec2 and openstack
urls for the metadata and userdata. Fix a bug with the -from-url
option and a panic on an empty response.
user data should always win since that's what the user has direct control
over.
On Jun 25, 2014 11:02 AM, "Jonathan Boulle" <notifications@github.com>
wrote:

> In coreos-cloudinit.go:
>
> > @@ -89,6 +89,15 @@ func main() {
> >  	}
> >
> >  	env := initialize.NewEnvironment("/", ds.ConfigRoot(), workspace, convertNetconf, sshKeyName)
> > +	if len(metadataBytes) > 0 {
>
> How do you propose dealing with conflicts?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/coreos/coreos-cloudinit/pull/159/files#r14201894>.
>