Added out-of-band console instruction page

feature/node-rewrite
Sven Slootweg 13 years ago
parent e6993f1d76
commit 8dea46938c

@ -0,0 +1,16 @@
<?php
/*
* CVM is more free software. It is licensed under the WTFPL, which
* allows you to do pretty much anything with it, without having to
* ask permission. Commercial use is allowed, and no attribution is
* required. We do politely request that you share your modifications
* to benefit other developers, but you are under no enforced
* obligation to do so :)
*
* Please read the accompanying LICENSE document for the full WTFPL
* licensing text.
*/
$sPageContents .= Templater::InlineRender("vps.console", $locale->strings, array(
'host' => htmlspecialchars($_SERVER['SERVER_NAME'])
));

@ -38,7 +38,8 @@ try
'^/([0-9]+)/(stop)/?$' => "module.vps.overview.php",
'^/([0-9]+)/(restart)/?$' => "module.vps.overview.php",
'^/([0-9]+)/reinstall/?$' => "module.vps.reinstall.php",
'^/([0-9]+)/password/?$' => "module.vps.password.php"
'^/([0-9]+)/password/?$' => "module.vps.password.php",
'^/([0-9]+)/console/?$' => "module.vps.console.php"
)
);

@ -0,0 +1,14 @@
<h2>Out-of-band console</h2>
<p>If you cannot access your container for some reason, you can use the out-of-band console (also known as shell dropper) to invoke a root shell.</p>
<p>To use the out-of-band console, connect through SSH as follows:</p>
<ul>
<li><strong>Hostname:</strong> <%?host></li>
<li><strong>Port:</strong> 22</li>
<li><strong>Username:</strong> vz</li>
<li><strong>Password:</strong> vz</li>
</ul>
<p>After logging in with the above details, you will have to enter your VPS panel login details, after which you can select a container to invoke a root shell on.</p>
Loading…
Cancel
Save