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.
29 lines
599 B
PHP
29 lines
599 B
PHP
<?php
|
|
$_CVM = true;
|
|
require("includes/include.base.php");
|
|
|
|
/*$ssh = new SshConnector();
|
|
$ssh->host = "cvm-vz.cryto.net";
|
|
$ssh->key = "/etc/cvm/key";
|
|
$ssh->pubkey = "/etc/cvm/key.pub";
|
|
|
|
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);
|
|
|
|
?>
|