<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18813">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><A title=savvas@netmail.com.cy
href="mailto:savvas@netmail.com.cy">savvas</A> <FONT size=2
face=Arial>wrote</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV>I am trying to create a script to automate the creation of vsites and
tried to use <EM>caddvsite </EM>but it doesn't give me an option to set the
disk quota.</DIV>
<DIV>Is there any way to enable it?</DIV>
<DIV>Here is the options of caddvsite</DIV>
<DIV># /usr/sbin/caddvsite<BR>Usage /usr/sbin/caddvsite
[OPTION]...<BR>[--apop, -o, --enable-apop] [--catchall=string, -k,
--enable-catchall] [--cgi, -c, --enable-cgi] [--domain=string, --domainname,
-d] [--fpx=string, -x, --enable-fpx] [--ftp, -f, --enable-ftp]
[--ftpConn=integer, -z, --ftp-maxconn] [--ftpQuota=integer, -m, --ftp-quota]
[--help, -h, -?] [--host=string, --hostname, -n] [--ipaddr=string, -i,
--ipaddress] [--java, -j, --enable-java] [--mailAliases=list, -e, --mail]
[--maxusers=integer, -u, --max] [--php, -p, --enable-php] [--quick, -Q]
[--shell, -t, --enable-shell] [--ssi, -s, --enable-ssi] [--ssl, -l,
--enable-ssl] [--volume=string, -v] [--webAliases=list, -w, --web]<BR></DIV>
<DIV>Thanks in advance</DIV>
<DIV>Savvas</DIV>
<DIV><FONT size=2 face=Arial>============ R E P L Y
=====</FONT></DIV>
<DIV><FONT size=2 face=Arial>Maybe this will help</FONT></DIV>
<DIV><FONT size=2 face=Arial><A
href="http://devel.blueonyx.it/trac/browser/BlueOnyx/5106R/cce-shell-tools/alpine/caddvsite?rev=123">http://devel.blueonyx.it/trac/browser/BlueOnyx/5106R/cce-shell-tools/alpine/caddvsite?rev=123</A></FONT></DIV><FONT
size=2 face=Arial>
<DIV>
<TABLE class=code>
<TBODY>
<TR>
<TH id=L45><FONT size=2></FONT><A
href="http://devel.blueonyx.it/trac/browser/BlueOnyx/5106R/cce-shell-tools/alpine/caddvsite?rev=123#L45"></A></TH>
<TD>$shell->putObj('<SPAN class=searchword1>quota</SPAN>',
$defaults->{quota}, 'Disk') if(!$shell->isObj('quota',
'Disk'));</TD></TR></TBODY></TABLE></DIV>
<DIV>Indicates that it uses the quota defauts in the GUI virtual site template
</DIV>
<DIV> </DIV>
<DIV>But I don't think this version has been released, </DIV>
<DIV>maybe Michael cab give us the answer</DIV>
<DIV> </DIV>
<DIV>Gerald</DIV>
<DIV>=============================</DIV></FONT></BLOCKQUOTE></BODY></HTML>