lxc profile assign
Description: Assign sets of profiles to instances Synopsis: Description: Assign sets of profiles to instances Examples: Options inherited from parent commands: SEE ALSO: lxc profile- Manage profiles.

Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
View this page
Toggle table of contents sidebar

# `lxc profile assign`

Assign sets of profiles to instances

## Synopsis

Description: Assign sets of profiles to instances

    lxc profile assign [<remote>:]<instance> <profiles> [flags]

## Examples

      lxc profile assign foo default,bar
          Set the profiles for "foo" to "default" and "bar".

      lxc profile assign foo default
          Reset "foo" to only using the "default" profile.

      lxc profile assign foo ''
          Remove all profile from "foo"

## 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 profile - Manage profiles