1. 23 Dec, 2016 1 commit
    • Scott Moser's avatar
      release 0.7.9 · 7fb6f781
      Scott Moser authored
      Bump the version in cloudinit/version.py to be 0.7.9.
  2. 12 Sep, 2016 1 commit
    • Scott Moser's avatar
      release 0.7.8 · c099719a
      Scott Moser authored
      Bump the version in cloudinit/version.py to be 0.7.8.
  3. 10 Aug, 2016 2 commits
  4. 14 Jul, 2016 1 commit
  5. 21 Jun, 2016 2 commits
  6. 15 Jun, 2016 1 commit
  7. 14 Jun, 2016 1 commit
  8. 26 May, 2016 1 commit
    • Scott Moser's avatar
      kernel command line: override all local settings · 63501f44
      Scott Moser authored
      settings on the kernel command line (cc:) were documented to override
      all local settings, but a bug in implementation meant they would only
      override those that are in /etc/cloud/cloud.cfg, not any found in
      LP: #1582323
  9. 24 May, 2016 1 commit
  10. 13 Apr, 2016 1 commit
  11. 04 Apr, 2016 5 commits
  12. 22 Mar, 2016 1 commit
    • Scott Moser's avatar
      quickly check to see if the previous instance id is still valid · 0964b42e
      Scott Moser authored
      This adds a check in cloud-init to see if the existing (cached)
      datasource is still valid.  It relies on support from the Datasource
      to implement 'check_instance_id'.  That method should quickly determine
      (if possible) if the instance id found in the datasource is still valid.
      This means that we can still notice new instance ids without
      depending on a network datasource on every boot.
      I've also implemented check_instance_id for the superclass and for
      3 classes:
        DataSourceAzure (check dmi data)
        DataSourceOpenstack (check dmi data)
        DataSourceNocloud (check the seeded data or kernel command line)
      LP: #1553815
  13. 10 Mar, 2016 1 commit
    • Scott Moser's avatar
      dmi data: fix failure of reading dmi data for unset dmi values · b839ad32
      Scott Moser authored
      it is not uncommon to find dmi data in /sys full of 'ff'. utf-8
      decoding of those would fail, causing warning and stacktrace.
      Return '.' instead of \xff. This maps to what dmidecode would return
      $ dmidecode --string system-product-name
  14. 08 Mar, 2016 1 commit
    • Scott Moser's avatar
      No longer run pollinate by default in seed_random · 6e31038b
      Scott Moser authored
      The user can still choose to run pollinate here to seed their
      random data.  And in an environment with network datasource, that
      would be expected to work.  However, we do not want to run it any 
      more from cloud-init because
      a.) pollinate's own init system jobs should get it ran before ssh,
          which is the primary purpose of wanting cloud-init to run it.
      b.) with a local datasource, there is no network guarantee when
          init_modules run, so pollinate -q would often cause issues then.
      c.) cloud-init would run pollinate and log the failure causing
          many cloud-init specific failures that it could do nothing about.
      LP: #1554152
  15. 01 Mar, 2016 1 commit
    • Scott Moser's avatar
      timezone: use a symlink when updating /etc/localtime · 290afe72
      Scott Moser authored
      Unless /etc/localtime is an existing file and not a symlink,
      then we will symlink instead of copying the tz_file to /etc/localtime.
      The copy was due to an old bug in Ubuntu, symlink should be preferred.
      LP: #1543025
  16. 04 Feb, 2016 1 commit
  17. 30 Nov, 2015 1 commit
  18. 04 Nov, 2015 1 commit
  19. 09 Oct, 2015 1 commit
  20. 08 Sep, 2015 2 commits
    • Scott Moser's avatar
      power_state: support 'condition' argument · ba3e59cb
      Scott Moser authored
        if 'condition' is provided to config in power_state, then
        consult it before powering off.
        This allows the user to shut down only if a condition is met, and
        leave the system in a debuggable state otherwise.
        An example is as simple as:
           mode: poweroff
           condition: ['sh', '-c', '[ -f /disable-poweroff ]']
    • Scott Moser's avatar
      NoCloud: fix consumption of vendor-data · 3c39c3f7
      Scott Moser authored
      the content of vendordata was was being assigned to vendordata, 
      rather than vendordata_raw.  The result was that it is not processed
      for includes or part handlers or other things as it is in other
      LP: #1493453
  21. 31 Jul, 2015 1 commit
  22. 28 Jul, 2015 1 commit
  23. 16 Jun, 2015 1 commit
  24. 15 Jun, 2015 1 commit
  25. 10 Jun, 2015 1 commit
  26. 19 May, 2015 1 commit
  27. 21 Apr, 2015 1 commit
  28. 09 Apr, 2015 1 commit
  29. 27 Mar, 2015 1 commit
    • Scott Moser's avatar
      NoCloud: the local portion of NoCloud incorrectly claimed datasources · bf52085a
      Scott Moser authored
      The intent has always been for the local datasource (NoCloud) to require
      the provider of metadata to provide 'dsmode=local'.  If that wasn't found,
      then the default 'dsmode' would be 'net', and the NoCloudNet datasource
      would then find the data.
      The bug here was that the default 'net' wasn't being set when
      data was found on a local source.
  30. 16 Jan, 2015 1 commit
    • Scott Moser's avatar
      hostname: apply hostname same as is written · 8d453d2a
      Scott Moser authored
      on RHEL, we were writing to persistent configuration the fqdn, but
      invoking 'hostname' on the first boot with just the shortname.  On 'reboot',
      then the hostname would differ.
      Now, whatever we write, invoke hostname with.
      Also remove some duplicate code.
      LP: #1246485
  31. 18 Nov, 2014 1 commit
  32. 29 Oct, 2014 1 commit
  33. 20 Oct, 2014 1 commit