Commit 1188089f authored by Leigh Stoller's avatar Leigh Stoller

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
......@@ -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";
}
?>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment