#!/bin/sh
#-----------------------------------------------------------------------------
# /var/install/bin/openvz-create-vm - create VE from template
#
# Last Update:  $Id:$
#
# Copyright (c) 2006-2009 the eisfair team <team(at)eisfair(dot)org>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#-----------------------------------------------------------------------------


/var/install/bin/list-files.cui -t "Select a template" \
               -p "/var/lib/vz/template/cache" \
               -f '*.tar.gz' -f '*.tar.bz2' \
               -o 1 \
               -q 'Use template >>%ls<<?' \
               --helpfile=/var/install/help/openvz \
               --helpname=OPENVZ_CREATE_VM \
               --helpview \
               -s "/var/install/bin/openvz-create-vm.cui"
exit 0