You can pass --groupid to update, but there is no way to tell update to remove the repo from a group it is already in.
Changed options to --addgroup and --rmgroup similar to --addkeys and --rmkeys. $ sudo pulp-admin repo update --id=foo --addgroup=testgroup Successfully updated repository [ foo ] $ sudo pulp-admin repo update --id=foo --rmgroup=testgroup Successfully updated repository [ foo ]
Build: 0.154
[root@preethi ~]# rpm -q pulp pulp-0.0.157-1.git.1.1ea502c.fc14.noarch verified [root@preethi ~]# pulp-admin repo update --id=pulp-repo --rmgroup=testgroup Successfully updated repository [ pulp-repo ]
Closing with Community Release 15 pulp-0.0.223-4.