diff --git a/interface/lib/plugins/vm_openvz_plugin.inc.php b/interface/lib/plugins/vm_openvz_plugin.inc.php index b1ce8e618d8ff0cbc6c3da484914f20a87c5a33b..42a653033b4ceec5057a0e33b7e8fdc28e6ef936 100644 --- a/interface/lib/plugins/vm_openvz_plugin.inc.php +++ b/interface/lib/plugins/vm_openvz_plugin.inc.php @@ -173,6 +173,7 @@ class vm_openvz_plugin { $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; diff --git a/interface/web/vm/templates/openvz.conf.tpl b/interface/web/vm/templates/openvz.conf.tpl index 06e6ac515d927eeb825029143770170349111d0f..5bdd385a46d1a0455c261aa16625e871f03bfd46 100644 --- a/interface/web/vm/templates/openvz.conf.tpl +++ b/interface/web/vm/templates/openvz.conf.tpl @@ -45,5 +45,6 @@ IP_ADDRESS="{tmpl_var name='ip_address'}" NAMESERVER="{tmpl_var name='nameserver'}" # alternative meminfo: "pages:256000" MEMINFO="privvmpages:1" +# SWAPPAGES="{tmpl_var name='swappages'}" CAPABILITY="{tmpl_var name='capability'}"