Custom application template with empty packages file fails to be installed with the following error:
Error: Need to pass a list of pkgs to install Error: /usr/share/vzyum/bin/yum failed, exitcode=1 . Failed
Ability to use custom application templates with empty packages file, just with pre- or post-install scripts, was implemented in Virtuozzo 6.0 Update 8.
Install pending updates on the server and retry application template installation.