Commit e4fe1be0 authored by Mike Hibler's avatar Mike Hibler

Fix from Keith Sklower for building elabinelab inside an unroutable control net

parent efff15e4
......@@ -29,7 +29,7 @@ include $(TESTBED_SRCDIR)/GNUmakerules
# makefile work if it unpacks the tarball itself
#
trafgen-fetch:
$(SRCDIR)/trafgen/tg-install $(SRCDIR)/trafgen
$(SRCDIR)/trafgen/tg-install $(SRCDIR)/trafgen "@OUTERBOSS_NODENAME@"
etc-subdir:
@$(MAKE) -C etc all
......
......@@ -16,10 +16,12 @@ else
exit 1
fi
if [ -n "$2" ]; then host=$2; else host=www.emulab.net ; fi
if [ ! -d $1/tg2.0/src ]; then
echo "Downloading tg2.0 source from www.emulab.net to $1 ..."
echo "Downloading tg2.0 source from $host to $1 ..."
cd $1
$fetch http://www.emulab.net/tg2.0.tar.gz
$fetch http://$host/tg2.0.tar.gz
if [ $? -ne 0 ]; then
echo "Failed..."
echo "Downloading tg2.0 source from www.postel.org to $1 ..."
......
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