I get a recurring minor inconvenience I’d like to report/inquire-about.
I install incus on bare metal, and everything works. Sometimes, I create an incus VM and then use that to hold nested Incus containers/vm’s. It all works as I expect, except for…auto-complete for incus commands, which never works. It happens in all of my nested vm’s when I install incus in them. And in both Debian and Ubuntu, e.g. this:
User root@/root/
root@archive:~# incus list
+------------------------+---------+------+------+-----------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------------------------+---------+------+------+-----------+-----------+
| Fastcloud-Week-02 | STOPPED | | | CONTAINER | 2 |
+------------------------+---------+------+------+-----------+-----------+
| OGSelfHosting-Week-02 | STOPPED | | | CONTAINER | 2 |
+------------------------+---------+------+------+-----------+-----------+
| SysAdmin-22-04-Week-02 | STOPPED | | | CONTAINER | 3 |
+------------------------+---------+------+------+-----------+-----------+
root@archive:~# incus start Fa #(hitting tab does nothing)
Error: Failed to fetch instance "Fa" in project "Week-02": Instance not found
root@archive:~# incus start Fastcloud-Week-0 #Even here!
Error: Failed to fetch instance "Fastcloud-Week-0" in project "Week-02": Instance not found
root@archive:~# incus start Fastcloud-Week-02
root@archive:~# incus list #Nothing odd about the name, it does exist and even start when you type it in full:
+------------------------+---------+---------------------+-----------------------------------------------+-----------+-----------+
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------------------------+---------+---------------------+-----------------------------------------------+-----------+-----------+
| Fastcloud-Week-02 | RUNNING | 10.68.36.180 (eth0) | fd42:ed0c:32b9:bff7:216:3eff:fe3c:c4aa (eth0) | CONTAINER | 2 |
+------------------------+---------+---------------------+-----------------------------------------------+-----------+-----------+
| OGSelfHosting-Week-02 | STOPPED | | | CONTAINER | 2 |
+------------------------+---------+---------------------+-----------------------------------------------+-----------+-----------+
| SysAdmin-22-04-Week-02 | STOPPED | | | CONTAINER | 3 |
+------------------------+---------+---------------------+-----------------------------------------------+-----------+-----------+
root@archive:~#
A populated autocomplete file exists where I expect it:
root@archive:~# ls /usr/share/bash-completion/completions/incus
/usr/share/bash-completion/completions/incus
root@archive:~#
Am I unique with this experience; is this supposed to be this way? What, if anything, am I missing?
V/R
Andrew