Fixed: FS#2205 - swappages variable is not set in openvz vhost template
| | |
| | | $tpl->setVar('numfile',$vm_template['numfile']); |
| | | $tpl->setVar('avnumproc',$vm_template['avnumproc']); |
| | | $tpl->setVar('numiptent',$vm_template['numiptent']); |
| | | $tpl->setVar('swappages',$vm_template['swappages']); |
| | | |
| | | $diskspace = $vm['diskspace']*1048576; |
| | | $diskinodes = $vm['diskspace']*524288; |
| | |
| | | NAMESERVER="{tmpl_var name='nameserver'}" |
| | | # alternative meminfo: "pages:256000" |
| | | MEMINFO="privvmpages:1" |
| | | # SWAPPAGES="{tmpl_var name='swappages'}" |
| | | |
| | | CAPABILITY="{tmpl_var name='capability'}" |