You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
768 B
PHTML
26 lines
768 B
PHTML
13 years ago
|
<?php
|
||
|
$_CVM = true;
|
||
|
require("includes/include.base.php");
|
||
|
|
||
|
$settings['master_privkey'] = "/etc/cvm/key";
|
||
|
$settings['master_pubkey'] = "/etc/cvm/key.pub";
|
||
|
$settings['salt'] = "kAU0qM";
|
||
|
|
||
|
$sContainer = new Container(1);
|
||
|
|
||
|
$template_main = new Templater();
|
||
|
$template_main->Load("main");
|
||
|
$template_main->Localize($locale->strings);
|
||
|
$template_main->Compile(array(
|
||
|
'server-location' => $sContainer->sNode->sPhysicalLocation,
|
||
|
'operating-system' => $sContainer->sTemplate->sName,
|
||
|
'guaranteed-ram' => "{$sContainer->sGuaranteedRam}MB",
|
||
|
'burstable-ram' => "{$sContainer->sBurstableRam}MB",
|
||
|
'disk-space' => "{$sContainer->sDiskSpace}MB",
|
||
|
'total-traffic-limit' => "{$sContainer->sTotalTrafficLimit} bytes",
|
||
|
'bandwidth-limit' => "100mbit",
|
||
|
));
|
||
|
$template_main->Output();
|
||
|
|
||
|
?>
|