190 Commits
Author SHA1 Message Date
XinJun Ma c3f84edbe4 scripts: fix empty-incus.sh instances delete
Signed-off-by: XinJun Ma <[email protected]>
2024-09-15 17:54:43 +08:00
Adam Stephens 8ce2a3c7c0 scripts/bash: delete in favor of cobra completions
Signed-off-by: Adam Stephens <[email protected]>
2024-03-25 21:22:24 -04:00
Stéphane Graber f25226d385 scripts/bash: Don't follow aliases
Closes #459

Signed-off-by: Stéphane Graber <[email protected]>
2024-02-01 23:56:53 +01:00
Stéphane Graber 210ac67a0b scripts/bash: Add boot.host_shutdown_action
Signed-off-by: Stéphane Graber <[email protected]>
2024-01-25 00:26:48 -05:00
Simon Deziel a098d142f1 [lxd-import] scripts/bash: add missing incus config trust subcommands
Signed-off-by: Simon Deziel <[email protected]>
2023-10-13 14:50:55 -04:00
Stéphane Graber 1774481ac2 instance: Remove limits.network.priority
This option only ever worked on CGroup1 and had quite a few limitations.
It's now being replaced by `limits.priority` set directly on the nic devices.

Closes #113

Signed-off-by: Stéphane Graber <[email protected]>
2023-10-05 00:37:29 -04:00
Simon Deziel 9546008648 [lxd-import] scripts/bash/incus: don't propose "(current)" as valid project
Prior to this:

  $ incus project list <TAB><TAB>
  (current)  default    foo

After this:

  $ incus project list <TAB><TAB>
  default  foo

Signed-off-by: Simon Deziel <[email protected]>
2023-10-03 17:48:51 -04:00
Simon Deziel f422493c91 [lxd-import] scripts/bash/incus: use parentheses around grep -E alternations
Signed-off-by: Simon Deziel <[email protected]>
2023-10-03 17:48:51 -04:00
Simon Deziel d15a9b03c4 [lxd-import] scripts/bash/incus: fix completion to work for non-default projects
Closes #11429

Signed-off-by: Simon Deziel <[email protected]>
2023-10-03 17:48:50 -04:00
Stéphane Graber d0edb2285b [lxd-import] scripts: Add zfs.delegate to bash completion
Signed-off-by: Stéphane Graber <[email protected]>
Sponsored-by: Buddy (https://buddy.works)
2023-10-02 10:58:34 -04:00
Stéphane Graber 9a432aef5e scripts: Remove fan support
Signed-off-by: Stéphane Graber <[email protected]>
2023-09-26 01:26:13 -04:00
Stéphane Graber 33589fffc0 scripts/bash: Remove core.trust_password
Signed-off-by: Stéphane Graber <[email protected]>
2023-09-02 00:14:46 -04:00
Stéphane Graber 48ab77f400 scripts: Port to Incus
Signed-off-by: Stéphane Graber <[email protected]>
2023-08-30 00:46:14 -04:00
Stéphane Graber da931e33d4 scripts/bash: Remove LXD mentions
Signed-off-by: Stéphane Graber <[email protected]>
2023-08-30 00:46:07 -04:00
Thomas Hipp 157c5bda09 scripts: Remove MAAS from bash completion
Signed-off-by: Thomas Hipp <[email protected]>
2023-08-15 22:54:39 +02:00
Thomas Hipp a0cbf32973 scripts: Remove Candid from bash completion
Signed-off-by: Thomas Hipp <[email protected]>
2023-08-12 21:55:43 +02:00
Thomas Hipp f72b3bc1a8 scripts: Remove RBAC from bash completion
Signed-off-by: Thomas Hipp <[email protected]>
2023-08-11 22:44:37 +02:00
Stéphane Graber 4f59d46b33 scripts: Rename to incus
Signed-off-by: Stéphane Graber <[email protected]>
2023-08-09 22:32:41 -04:00
Stéphane Graber ce01ef264d scripts/bash: Rename security.devlxd to security.guestapi
Signed-off-by: Stéphane Graber <[email protected]>
2023-08-03 01:46:34 -04:00
Stéphane Graber d31308a619 scripts: Update env variables
Signed-off-by: Stéphane Graber <[email protected]>
2023-08-03 01:46:20 -04:00
Aleksa Sarai 7673a78986 global: rename all paths from lxd to incus or inc
This does not include a rename of the go package path, this will be
updated in a later commit.

Signed-off-by: Aleksa Sarai <[email protected]>
2023-08-01 07:25:29 +10:00
Stéphane Graber d647815212 scripts/bash: Add security.csm
Signed-off-by: Stéphane Graber <[email protected]>
2023-06-09 11:24:56 -04:00
Thomas Hipp e135c5cb91 scripts: add missing oidc.* keys to bash completion
Signed-off-by: Thomas Hipp <[email protected]>
2023-04-27 15:14:53 +02:00
Norberto Bensa 229a643daa scripts/bash/lxd-client: fix autocompletion not working
Autocompletion of commands for running guests which are in a state other than RUNNING doesn't work. 

This change adds READY so now, autocompletion in lxc shell, lxc stop, lxc exec, work as expected

Signed-off-by: Norberto Bensa <[email protected]>
2022-11-21 23:25:29 -03:00
Simon Deziel 55280b40c0 scripts/bash/lxd-client: Add missing file mount sub-command
Signed-off-by: Simon Deziel <[email protected]>
2022-11-04 10:24:08 +01:00
Thomas Parrott 7bc7e48d75 scripts/bash/lxd-client: Add missing network sub-commands
Fixes https://github.com/lxc/lxd-pkg-snap/issues/107

Signed-off-by: Thomas Parrott <[email protected]>
2022-10-03 09:16:11 +01:00
Thomas Parrott 99fc93e68a scripts/bash/lxd-client: Adds core.storage_buckets_address
Signed-off-by: Thomas Parrott <[email protected]>
2022-09-06 21:45:21 +01:00
Thomas Parrott 02dc67ea0e scripts/empty-lxd.sh: Add emptying of storage buckets
Signed-off-by: Thomas Parrott <[email protected]>
2022-08-31 08:53:07 +01:00
Thomas Parrott 08d1de1d7c scripts/bash/lxd-client: Remove ceph.osd.force_reuse
Signed-off-by: Thomas Parrott <[email protected]>
2022-07-18 09:49:09 +01:00
Stéphane Graber 1049b9f5f6 scripts: Add cephfs.fscache
Signed-off-by: Stéphane Graber <[email protected]>
2022-06-20 20:19:13 -05:00
Stéphane Graber ed89674669 scripts/bash: Add raw.qemu.conf
Signed-off-by: Stéphane Graber <[email protected]>
2022-06-10 15:18:38 -04:00
Thomas Parrott 1ed08e516f scripts/bash: security.syscalls.intercept.sysinfo
Signed-off-by: Thomas Parrott <[email protected]>
2022-04-25 15:13:16 +01:00
Thomas Parrott cd8248bbf8 scripts/bash/lxd-client: Adds lvm.thinpool_metadata_size to bash auto complete
Signed-off-by: Thomas Parrott <[email protected]>
2022-03-30 17:04:33 -04:00
Stéphane Graber 47ac157150 scripts/bash: security.syscalls.intercept.sched_setscheduler
Signed-off-by: Stéphane Graber <[email protected]>
2022-03-30 15:28:56 -04:00
Stéphane Graber 7b7d2911e2 scripts/bash: Update completion for metrics
Signed-off-by: Stéphane Graber <[email protected]>
2022-03-07 04:58:48 -05:00
Stéphane Graber 2c19e536a0 scripts: Add restricted.containers.interception
Signed-off-by: Stéphane Graber <[email protected]>
2022-03-07 03:51:42 +01:00
Pavel Sapezhko 0534ff0183 scripts: Add zfs.reserve_space to completion
Signed-off-by: Pavel Sapezhko <[email protected]>
2022-01-25 23:01:25 -05:00
Liam Nickell 824f201c9d lxd/storage: add ceph.rbd.du storage option
Signed-off-by: Liam Nickell <[email protected]>
2021-12-09 16:22:05 -05:00
Thomas Hipp c8476f079b scripts/bash/lxd-client: Update keys
Signed-off-by: Thomas Hipp <[email protected]>
2021-11-23 15:28:12 -05:00
Uzi Erdenebileg ed5d91d5e3 bash-completion: Add restore snapshots
Signed-off-by: Uzi Erdenebileg <[email protected]>
2021-10-31 20:33:39 +08:00
Simon Deziel 4df03eab94 Replace 'which' with 'command -v'
The later is builtin and POSIX compliant.

Signed-off-by: Simon Deziel <[email protected]>
2021-10-28 13:01:21 -04:00
Stéphane Graber c082a71d61 scripts: Add BGP config keys
Signed-off-by: Stéphane Graber <[email protected]>
2021-08-25 12:35:43 -04:00
Thomas Parrott 042615c4f8 scripts/bash/lxd-client: Adds restricted.devices.{pci,proxy} to bash completion
Signed-off-by: Thomas Parrott <[email protected]>
2021-08-12 09:14:30 +01:00
JUN JIE NAN 55b015c974 Added console and rename to lxd names auto complete
And reorganize the cases

Signed-off-by: JUN JIE NAN <[email protected]>
2021-07-29 15:38:26 +08:00
Stéphane Graber 8d0fa9673f scripts/bash: Add ceph.rbd.features
Signed-off-by: Stéphane Graber <[email protected]>
2021-02-09 14:30:02 -05:00
Stéphane Graber 156dc7b463 scripts/bash: Fix snap handling
Signed-off-by: Stéphane Graber <[email protected]>
2020-10-22 19:21:36 -04:00
Simon Deziel b5af91dfea bash-completion: use regex grouping for lxc start
Signed-off-by: Simon Deziel <[email protected]>
2020-09-17 17:20:59 -04:00
Simon Deziel e135461684 bash-completion: use "list --format=csv" consistently
Signed-off-by: Simon Deziel <[email protected]>
2020-09-17 17:16:30 -04:00
Stéphane Graber 277712a8a4 scripts/bash: Add network config key
Signed-off-by: Stéphane Graber <[email protected]>
2020-08-27 14:07:14 -04:00
Stéphane Graber 9a00f870ac bash: Update completion profile
Signed-off-by: Stéphane Graber <[email protected]>
2020-08-13 17:51:33 -04:00