Closed
Description
Required information
- Distribution: Gentoo
- Distribution version: --
- The output of "incus info" or if that fails:
- Incus version: 6.7
Issue description
The command incus project get-current
should write the name of the current project to stdout which is the default
project initially.
However, if you never used incus project switch
command to switch to some project and then back to default, then the output of get-current
is empty instead of default
Steps to reproduce
- fresh installation
- call
incus project get-current
-> no output! - create some new project:
incus project create myproject
- switch:
incus project switch myproject
- call
incus project get-current
-> "myproject" - switch back:
incus project switch default
- call
incus project get-current
-> "default"