Skip to content
Snippets Groups Projects
Commit 1188089f authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

ElabInElab change. When ELABINELAB=1, spit out a "gateway" directive so

that ssh redirects through inner boss. This is pretty much how virtual
node ssh is done already.
parent bb517437
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@ $TBBASE = "@TBBASE@";
$TBDOCBASE = "@TBDOCBASE@";
$TBWWW = "@TBWWW@";
$THISHOMEBASE = "@THISHOMEBASE@";
$ELABINELAB = @ELABINELAB@;
$TBMAILADDR_OPS = "@TBOPSEMAIL_NOSLASH@";
$TBMAILADDR_WWW = "@TBWWWEMAIL_NOSLASH@";
......
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# Copyright (c) 2000-2004 University of Utah and the Flux Group.
# All rights reserved.
#
include("defs.php3");
......@@ -80,6 +80,9 @@ if ($isvirt) {
echo "gateway: $USERNODE\n";
}
}
elseif ($ELABINELAB) {
echo "gateway: $USERNODE\n";
}
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment