User`s guide

Managing Templates 44
Listing Templates
The vzpkgls utility allows you to list the templates installed on the Hardware Node. They
may be already used or not used by certain VPSs:
# vzpkgls
fedora-core-4
centos-4
As you see, the fedora-core-4 and centos 4 templates are available on the Hardware
Node. Note that some of them might not be cached yet. To see only those templates that are
cached (and thus are ready to be used for creating a VPS), use the
--cached flag with
vzpkgls:
# vzpkgls –-cached
fedora-core-4
Considering the previous output, this means that the centos-4 template is just installed and is
not cached yet.
Specifying a VPS number as a parameter, this command prints the template used by the
specified VPS:
# vzpkgls 101
fedora-core-4