Commit 24d186a4 authored by Kirk Webb's avatar Kirk Webb

Create a hosts file containing entries for boss and ops

for plab slivers and put it into the rootball.  This
will (hopefully) avoid flakiness due to flaky DNS servers.
parent 5b28189b
......@@ -53,7 +53,7 @@ include $(TESTBED_SRCDIR)/GNUmakerules
rootball: $(ROOTBALLNAME)
$(ROOTBALLNAME): copyfiles
$(ROOTBALLNAME): copyfiles mkhosts
chown -R 0:0 plabroot
tar cf - --numeric-owner -C plabroot . | bzip2 -c -9 > $(ROOTBALLNAME)
......@@ -84,6 +84,11 @@ mkdirtree:
mkdir -p plabroot/bin
ln -fs ../usr/local/etc/emulab plabroot/etc/emulab
echo " localhost" > plabroot/etc/hosts
echo "@EXTERNAL_BOSSNODE_IP@ @BOSSNODE@" >> plabroot/etc/hosts
echo "@EXTERNAL_USERNODE_IP@ @USERNODE@" >> plabroot/etc/hosts
@echo "*** Error:"
@echo "You must copy the tmcc linux binary into this dir"
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