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.
cvm/frontend/test.php

29 lines
599 B
PHTML

13 years ago
<?php
$_CVM = true;
require("includes/include.base.php");
/*$ssh = new SshConnector();
13 years ago
$ssh->host = "cvm-vz.cryto.net";
$ssh->key = "/etc/cvm/key";
$ssh->pubkey = "/etc/cvm/key.pub";
13 years ago
var_dump($ssh->RunCommand("df -h", true));*/
$settings['master_privkey'] = "/etc/cvm/key";
$settings['master_pubkey'] = "/etc/cvm/key.pub";
/*$sNode = new Node(1);
var_dump($sNode->sDiskFree, $sNode->sDiskUsed, $sNode->sRealHostname);*/
$sContainer = new Container(1);
// $sContainer->Deploy();
// returncode 127 = failed (CT ID missing?)
$sContainer->Start();
echo("Done!");
//pretty_dump($sContainer);
13 years ago
13 years ago
?>