LXC.PROFILE.ASSIGN(1)

πŸ“¦
version 5.21.6 Β· 3 versions
, in opensuse-leap 16.0

πŸ’… NAME

lxc-profile-assign β€” assign sets of profiles to instances, bestie. that's it. that's the whole job. and it SLAPS.


✨ SYNOPSIS

lxc profile assign [:]  [flags]

yes the synopsis really do look like that, we don't make the rules, we just report them faithfully 🫢


πŸŽ€ DESCRIPTION

okay so. Description: Assign sets of profiles to instances. that's literally the entire description, no cap. you point it at an instance and you tell it which profile(s) that instance should be wearing. it's giving wardrobe change main character energy πŸ‘‘


🌸 OPTIONS INHERITED FROM PARENT COMMANDS

these aren't even its options, they're the family hand-me-downs, but we list every single one because we're thorough like that πŸ’–

  • --debug[=false] β€” Show all debug messages. default is false, so it's off unless you say otherwise.
  • --force-local[=false] β€” Force using the local unix socket. again, false by default.
  • -h, --help[=false] β€” Print help. iconic. the moment you need it.
  • --project="" β€” Override the source project`` (and yes, the original has two stray backticks hanging off the end of this line β€” not me, I promise 😭 we keep the facts exactly as they are)
  • -q, --quiet[=false] β€” Don't show progress information. for when you want peace and quiet, lowkey.
  • --sub-commands[=false] β€” Use with help or --help to view sub-commands.
  • -v, --verbose[=false] β€” Show all information messages. the opposite vibe of --quiet, pick your fighter.
  • --version[=false] β€” Print version number.

πŸ¦‹ EXAMPLE

these are the three moods, fr fr:

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

comma-separated, and now foo is wearing both looks. a layered fit, obsessed πŸ’…

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

back to basics. one profile only. minimalist era ✨

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

empty string, and every profile is gone. foo is out here with literally nothing on. bold. reckless. iconic 🌈


πŸ’œ SEE ALSO

  • lxc-profile(1) β€” go meet the parent, it's the whole family tree 🧚

⭐ HISTORY

22-Aug-2026 β€” Auto generated by spf13/cobra. (cobra wrote this, not a human, and it shows πŸ™ˆ)


ok that's the whole page bestie, go forth and assign profiles responsibly πŸŽ€

mwah πŸ’‹ β€” this little beauty was auto generated by spf13/cobra back in Aug 2026, and it's page one of the LXD - Command line client(1) manual. see you in the group chat 🫢

πŸ“¦ where this page comes from