INCUS.PROFILE.DEVICE.ADD(1)

✨ incus-profile-device-add β€” okay bestie, let's add some instance devices πŸ’…

It's a page from Incus - Command line client(1), and it's lowkey one of the most useful little commands in the whole profile toolkit, so buckle up πŸŽ€


🌸 NAME

incus-profile-device-add β€” Add instance devices πŸ’–


πŸ¦‹ SYNOPSIS

incus profile device add [:]   [=...] [flags]

✨ DESCRIPTION

Description:

Add instance devices 🫢

That's the whole vibe. You're bolting a device onto a profile, and every instance using that profile inherits it. Iconic behaviour, no cap.


πŸ‘‘ OPTIONS INHERITED FROM PARENT COMMANDS

These aren't even this command's own flags, they're handed down from the parent command, and they still slay:

  • --debug[=false] β€” shows you all the debug messages. Everything. The whole diary. πŸ™ˆ
  • --explain[=false] β€” if the command is valid, it explains its parsed arguments instead of actually running anything. Very "read the recipe before you cook" energy. πŸ‘‘
  • --force-local[=false] β€” forces using the local unix socket. No remote side quests. πŸ”₯
  • -h, --help[=false] β€” prints help. The classic. πŸ’œ
  • --project="" β€” overrides the source project.
  • -q, --quiet[=false] β€” don't show progress information. Peace and quiet, we love to see it. 🀫
  • --sub-commands[=false] β€” use alongside help or --help to see the sub-commands. 🧚
  • -v, --verbose[=false] β€” shows all the information messages. Chatty. Obsessed. πŸ’–
  • --version[=false] β€” prints the version number. ⭐

🌈 EXAMPLE

  incus profile device add [<remote>:]profile1 <device-name> disk source=/share/c1 path=/opt
      Will mount the host's /share/c1 onto /opt in the instance.

  incus profile device add [<remote>:]profile1 <device-name> disk pool=some-pool source=some-volume path=/opt
      Will mount the some-volume volume on some-pool onto /opt in the instance.

So the first one mounts the host's /share/c1 onto /opt in the instance, and the second one mounts the some-volume volume on some-pool onto /opt in the instance. Same destination, different source situation β€” pick your fighter. πŸ₯Š


πŸ’« SEE ALSO

  • incus-profile-device(1) β€” go read the parent, it's giving main character energy. πŸ“–

πŸŽ€ HISTORY

24-Sep-2026 β€” Auto generated by spf13/cobra. Not me being a robot-written page and still serving looks. πŸ’€


fr fr, this whole page was Auto generated by spf13/cobra, from Sep 2026, and it's part of the Incus - Command line client(1) manual. Now go add that device, bestie πŸ«ΆπŸ’…
πŸ“¦ where this page comes from