Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
diff --git a/cloudinit/sources/DataSourceGCE.py b/cloudinit/sources/DataSourceGCE.py
index c660a35..6c12d70 100644
--- a/cloudinit/sources/DataSourceGCE.py
+++ b/cloudinit/sources/DataSourceGCE.py
@@ -31,7 +31,7 @@ REQUIRED_FIELDS = ('instance-id', 'availability-zone', 'local-hostname')
class GoogleMetadataFetcher(object):
- headers = {'X-Google-Metadata-Request': True}
+ headers = {'X-Google-Metadata-Request': 'True'}
def __init__(self, metadata_address):
self.metadata_address = metadata_address
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment