Commit 2c95e4cf authored by Scott Moser's avatar Scott Moser

support adding the primary group also

parent 638191cd
......@@ -371,6 +371,10 @@ class Distro(object):
kwargs['groups'] = ",".join(groups)
groups = groups.split(",")
primary_group = kwargs.get('primary_group')
if primary_group:
if create_groups and groups:
for group in groups:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment