source: fedkit/make_hosts @ 3c7da22

axis_examplecompt_changesinfo-opsversion-1.30version-2.00version-3.01version-3.02
Last change on this file since 3c7da22 was 3c7da22, checked in by Ted Faber <faber@…>, 17 years ago

Parameterize federate.sh and smbmount.pl (several parameters were hard wired)

make_hosts runs on deter nodes when DETER is the master testbed. It puts
all the federated hosts into /etc/hosts

  • Property mode set to 100755
File size: 259 bytes
Line 
1#!/bin/sh
2
3# Very simple script to copy the global hosts file over the local one
4# while preserving the localhost entry.  Run on DETER master clients
5
6grep 127\\.0\\.0\\.1 /etc/hosts > /tmp/hosts
7cat $1 >> /tmp/hosts
8cp /tmp/hosts /etc/hosts && rm /tmp/hosts
Note: See TracBrowser for help on using the repository browser.