Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx> --- guests/lcitool | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/guests/lcitool b/guests/lcitool index 95d16b3..cfea077 100755 --- a/guests/lcitool +++ b/guests/lcitool @@ -303,7 +303,8 @@ class Application: update prepare hosts and keep them updated informational actions: - hosts list all known hosts + hosts list all known hosts + projects list all known projects glob patterns are supported for HOSTS """), @@ -324,6 +325,10 @@ class Application: for host in self._inventory.expand_pattern("all"): print(host) + def _action_projects(self, _hosts): + for project in self._projects.expand_pattern("all"): + print(project) + def _action_install(self, hosts): flavor = self._config.get_flavor() -- 2.17.1 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list