I am trying to boot the instance with NoCloud datasource. But everytime the instance comes up it is try to connect to the network and metadata service.
logs: 2015-08-17 15:48:58,115 - url_helper.py[WARNING]: Calling 'http://169.254.169.254/2009-04-04/meta-data/instance-id' failed [0/120s]: request error [HTTPConnectionPool(host='169.254.169.254', port=80): Max retries exceeded with url: /2009-04-04/meta-data/instance-id (Caused by : [Errno 111] Connection refused)]
I have created a drive with meta-data and user-data:
meta-data:
instance-id: iid-local01
local-hostname: cloudimg
user-data:
#cloud-config
write_files:
- path: /test.txt
content: |
Here is a line
But the file is not getting created. Can you help in solving this issue? Or in disabling the cloud-init from contacting the metadata services.