1. 12 May, 2016 1 commit
  2. 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
      6e31038b
  3. 11 Feb, 2015 1 commit
  4. 27 Jan, 2015 1 commit
    • Barry Warsaw's avatar
      Respond to review: · 6e742d20
      Barry Warsaw authored
      - Refactor both the base64 encoding and decoding into utility functions.
      
      Also:
      
      - Mechanically fix some other broken untested code.
      6e742d20
  5. 26 Jan, 2015 1 commit
  6. 21 Jan, 2015 1 commit
  7. 03 Mar, 2014 3 commits
  8. 05 Feb, 2014 1 commit
  9. 28 Jan, 2014 1 commit
  10. 27 Jan, 2014 1 commit
  11. 09 Sep, 2013 1 commit
  12. 07 Sep, 2013 2 commits
  13. 04 Sep, 2013 1 commit
  14. 28 Sep, 2012 3 commits
  15. 25 Sep, 2012 1 commit
  16. 23 Sep, 2012 1 commit
  17. 21 Sep, 2012 2 commits
  18. 31 Aug, 2012 1 commit
  19. 23 Aug, 2012 2 commits
    • Scott Moser's avatar
      fix issues from 'make pylint' · 2de30c15
      Scott Moser authored
      In an effort to pylint errors about NonImlementedError and
      add_default_user, I moved this method to distro and genericized it.
      
      Now, assuming a sane 'create_user' for the distro, this should work.
      
      Also:
       * removed the unused set_configured_user method
      2de30c15
    • Scott Moser's avatar
      fix errors from 'make pep8' · d59ab509
      Scott Moser authored
      d59ab509
  20. 22 Aug, 2012 1 commit
  21. 21 Aug, 2012 1 commit
  22. 20 Aug, 2012 2 commits
    • Ben Howard's avatar
      Dropped hidden command; replaced with logstring. Also changed useradd command... · 8aa59086
      Ben Howard authored
      Dropped hidden command; replaced with logstring. Also changed useradd command to use log options over short
      8aa59086
    • Ben Howard's avatar
      Added "userless" mode to cloud-init for handling the creation of the · 336ddbe1
      Ben Howard authored
      users and the default user on Ubuntu.
      
      cloudinit/config/cc_users_groups.py: new cloud-config module for creating
          users and groups on instance initialization.
          - Creates users and group
          - Sets "user" directive used in ssh_import_id
      
      cloudinit/config/cc_ssh_import_id.py: module will rely upon users_groups
          for setting the default user. Removed assumption of 'ubuntu' user.
      
      cloudinit/distros/__init__.py: Added new abstract methods for getting
          and creating the default user.
      
      cloudinit/distros/ubuntu.py: Defined abstract methods for getting and
          and creating the default 'ubuntu' user on Ubuntu instances.
      
      cloudinit/util.py: Added ability to hide command run through util.subp to
          prevent the commands from showing in the logs. Used by user_groups
          cloud-config module.
      
      config/cloud.cfg: Removed "user: ubuntu" directive and replaced with new
          user-less syntax.
      
      doc/examples/cloud-config.txt: Documented the creation of users and groups.
      336ddbe1