def configure_groups_with_task(self): """Return the user group configuration task. :returns: a user group configuration task """ return CreateGroupsTask(sysroot=conf.target.system_root, group_data_list=self.groups)
def configure_groups_with_task(self, sysroot): """Return the user group configuration task. :param str sysroot: a path to the root of the installed system :returns: object path of the user group configuration task """ task = CreateGroupsTask(sysroot=sysroot, group_data_list=self.groups) return self.publish_task(USERS.namespace, task)
def configure_groups_with_task(self): """Return the user group configuration task. :returns: object path of the user group configuration task """ task = CreateGroupsTask( sysroot=conf.target.system_root, group_data_list=self.groups ) return self.publish_task(USERS.namespace, task)