From c8cca3cc82c3c446c49bf23ff6e2805f2aaeef48 Mon Sep 17 00:00:00 2001 From: Ben Howard Date: Mon, 27 Aug 2012 16:26:46 -0600 Subject: Fixed critical bug where user and group creation was being done after SSH configurations were applied. The result of this bug was that cloud-config supplied SSH public keys would fail to apply since the configured user may or may not exist. (LP: #1042459). cloudinit/config/cc_ssh_import_id.py: ssh_import_id.py now handles all user SSH import IDs. cloudinit/distros/ubuntu.py: Removed create_user class override as cruft, since ssh_import_id now handles all users. config/cloud.cfg: Moved users_groups to run under cloud_init_modules. doc/examples/cloud-config.txt: Added missing documentation on user and group creation. --- config/cloud.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config') diff --git a/config/cloud.cfg b/config/cloud.cfg index 2744c940..9c475251 100644 --- a/config/cloud.cfg +++ b/config/cloud.cfg @@ -29,6 +29,7 @@ cloud_init_modules: - update_etc_hosts - ca-certs - rsyslog + - users-groups - ssh # The modules that run in the 'config' stage @@ -37,7 +38,6 @@ cloud_config_modules: # this can be used by upstart jobs for 'start on cloud-config'. - emit_upstart - mounts - - users-groups - ssh-import-id - locale - set-passwords -- cgit v1.2.3