Finally, the no_user_group works as expected.
From http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/cloudinit/distros/__init__.py :
adduser_flags = { "no_user_group": '--no-user-group', "system": '--system', "no_log_init": '--no-log-init', }
However, the doc at http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/doc/examples/cloud-config-user-groups.txt speaks of no-user-group which does not work. The same would apply to no-log-init and no-create-home which should be no_log_init and no_create_home in the doc.
Am I missing something? Maybe this is expected to work with both underscores and dashes.
Finally, the no_user_group works as expected.
From http:// bazaar. launchpad. net/~cloud- init-dev/ cloud-init/ trunk/view/ head:/cloudinit /distros/ __init_ _.py :
}
However, the doc at http:// bazaar. launchpad. net/~cloud- init-dev/ cloud-init/ trunk/view/ head:/doc/ examples/ cloud-config- user-groups. txt speaks of no-user-group which does not work. The same would apply to no-log-init and no-create-home which should be no_log_init and no_create_home in the doc.
Am I missing something? Maybe this is expected to work with both underscores and dashes.