vztmpl-dl: implement --list-orphans

Sometimes it makes sense to list those local templates that are not
available for download. In a trivial scenario that would equal to
the list of old no-longer-supported templates. Note however that
this will also list any templates users created themselves.

https://bugzilla.openvz.org/2725

Reported-by: Pavel Odintsov <pavel.odintsov@gmail.com>
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
2 files changed