Skip to content
Permalink
Browse files

Remove cockpit from Docker

  • Loading branch information...
NEMS Linux
NEMS Linux committed Aug 26, 2019
1 parent d2be5d1 commit b8bd310ae3a6db8cb795be12e7504815e0afc670
Showing with 2 additions and 2 deletions.
  1. +2 −2 init.php
@@ -85,7 +85,7 @@ function resizeIframe(obj) {
<div class="call-action-v1 call-action-v1-boxed margin-bottom-40 rounded-4x">

<div style="margin: 0 auto; width: 60%; padding-top: 40px;"><img src="/img/nems_logo.png" class="img-responsive" />
<span style="color: #aaa;font-size:1.2em;">For <?php $platform = ver('platform'); echo $platform->name; ?></span>
<span style="color: #aaa;font-size:1.2em;">For <?php echo $platform->name; ?></span>
</div>

<div class="call-action-v1-box">
@@ -97,7 +97,7 @@ function resizeIframe(obj) {
echo '<p class="color-light">Current Build Script:<br /><em>' . $build_cur . '</em></p>';
} else {
echo '<h3 class="color-light" style="font-weight: bold;">Your NEMS server is not yet initialized.</h3>';
if (ver('nems') < 1.4) {
if (ver('nems') < 1.4 || $platform->num == 21) { // Docker and NEMS < 1.4 don't have Cockpit, so don't offer it.
echo '<p class="color-light">SSH to your NEMS server (' . $ip . ') and run:<br /><em>sudo nems-init</em></p>';
} else {
echo '<p class="color-light">SSH to your NEMS server (' . $ip . ') or <a href="https://' . $self->host . ':9090/system/terminal">open a browser-based terminal session</a> and run:<br /><em>sudo nems-init</em></p>';

0 comments on commit b8bd310

Please sign in to comment.
You can’t perform that action at this time.