diff options
author | Ben Howard <ben.howard@canonical.com> | 2012-08-27 16:26:46 -0600 |
---|---|---|
committer | Ben Howard <ben.howard@canonical.com> | 2012-08-27 16:26:46 -0600 |
commit | c8cca3cc82c3c446c49bf23ff6e2805f2aaeef48 (patch) | |
tree | c6c1033a29b2575eea00de0636d671a1224702c1 /config | |
parent | b81d5ed43e7ebed1d11d4b4109e22e9954316d4c (diff) | |
download | vyos-cloud-init-c8cca3cc82c3c446c49bf23ff6e2805f2aaeef48.tar.gz vyos-cloud-init-c8cca3cc82c3c446c49bf23ff6e2805f2aaeef48.zip |
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.
Diffstat (limited to 'config')
-rw-r--r-- | config/cloud.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
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 |