title: Cloud-init datasource setting timeout doesn't work
body: <p>I tried to setting up cloud-init so it waits less time if fails to fetch the meta-data. It would be usefull for validating when instance is created with packer. Then provisioner can change back the timeout.</p>
  
  <pre><code>[  134.162079] cloud-init[475]: 2016-12-05 12:33:22,851 - DataSourceEc2.py[CRITICAL]: Giving up on md from ['http://169.254.169.254/2009-04-04/meta-data/instance-id'] after 120 seconds 
  </code></pre>
  
  <p>I used the example from here <em>/usr/share/doc/cloud-init/examples/cloud-config-datasources.txt</em></p>
  
  <p>and applied at the end of /etc/cloud/cloud.cfg</p>
  
  <pre><code>datasource:
    Ec2:
      timeout: 5
      max_wait: 10
  </code></pre>
  
  <p>But it simply doesn't work, the timeout is still 50s and max_wait 120s.
  My OS Red Hat 6, cloud-init Version: 0.7.4</p>
  
  <p>EDIT:</p>
  
  <p>attached 
  <a href="http://pastebin.com/nREYWNi0" rel="nofollow noreferrer">cloud.cfg</a>
  <a href="http://pastebin.com/Ticy5D3A" rel="nofollow noreferrer" title="cloud-init.log">cloud-init.log</a></p>