summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_users_groups.py
diff options
context:
space:
mode:
authorBen Howard <ben.howard@canonical.com>2012-08-22 16:32:18 -0600
committerBen Howard <ben.howard@canonical.com>2012-08-22 16:32:18 -0600
commita6752e739a0bb9052585b9b043ce1964bd77bb42 (patch)
treef470b737de191b8fce315021f922f62bbea3daa0 /cloudinit/config/cc_users_groups.py
parent3f4a556e59b127d2fb6ebb57a8a42f6a71248b59 (diff)
downloadvyos-cloud-init-a6752e739a0bb9052585b9b043ce1964bd77bb42.tar.gz
vyos-cloud-init-a6752e739a0bb9052585b9b043ce1964bd77bb42.zip
Simplified users[0] detection, and ensured compatability with previous user password control code
Diffstat (limited to 'cloudinit/config/cc_users_groups.py')
-rw-r--r--cloudinit/config/cc_users_groups.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/cloudinit/config/cc_users_groups.py b/cloudinit/config/cc_users_groups.py
index 828b0d94..7e5ecc7b 100644
--- a/cloudinit/config/cc_users_groups.py
+++ b/cloudinit/config/cc_users_groups.py
@@ -78,7 +78,3 @@ def handle(name, cfg, cloud, log, _args):
new_opts[opt.replace('-', '')] = user_config[opt]
cloud.distro.create_user(name, **new_opts)
-
- if user_zero:
- cloud.distro.set_configured_user(user_zero)
- log.info("Set configured user for this instance to %s" % user_zero)