(lxc_cluster_group_assign.md)= # `lxc cluster group assign` Assign sets of groups to cluster members ## Synopsis Description: Assign sets of groups to cluster members ``` lxc cluster group assign [:] [flags] ``` ## Examples ``` lxc cluster group assign foo default,bar Set the groups for "foo" to "default" and "bar". lxc cluster group assign foo default Reset "foo" to only using the "default" cluster group. ``` ## Options inherited from parent commands ``` --debug Show all debug messages --force-local Force using the local unix socket -h, --help Print help --project Override the source project -q, --quiet Don't show progress information --sub-commands Use with help or --help to view sub-commands -v, --verbose Show all information messages --version Print version number ``` ## SEE ALSO * [lxc cluster group](lxc_cluster_group.md) - Manage cluster groups