RESOLUTION
Since HSPcomplete 3.3 version please use/usr/sbin/hspcpkgctl.pl New utility supports EZ templates, recursive directory scanning, importing OS/Application templates from Virtuozzo Hardware Nodes and provides all functionality which old hspc-install-tmpls.pl script had.
Detailed information regarding script usage could be found in corresponding perldoc page on HSPcomplete server:
perldoc /usr/sbin/hspcpkgctl.pl Please make sure, that directory containing uploaded templates (specified with '-d' option) is accessible for apache user, you may try to check the accessibility using the following command:
# su - apache
$ ls -l /path/to/templates/ Examples:
- scan /tmp/templates/ directory for new templates recursively, install these templates on HSPcomplete system and synchronize newly installed templates with hardware nodes #1,2:
# hspcpkgctl.pl install -d /tmp/templates -r -n 1 2 - install single EZ template from /tmp/redhat-as4-x86-ez-3.0.0-2.swsoft.noarch.rpm file:
# hspcpkgctl.pl install -f /tmp/redhat-as4-x86-ez-3.0.0-2.swsoft.noarch.rpm - synchronize postgresql EZ template from RedHat AS4 distribution with Hardware Node #1, using Task Manager:
# hspcpkgctl.pl sync -p postgresql -D redhat-as-x86 -n 1 --async
.
Keywords: mass template install hspcpkgctl.pl hspc-install-tmpls.pl