Show
Ignore:
Timestamp:
05/19/08 22:26:39 (4 years ago)
Author:
Ted Faber <faber@…>
Children:
7c3008e112b5820b5d22d88e47ce4ef7af03084d
Parents:
96d52798b757e9497bc2c1318328d02c0677e11c
git-committer:
Ted Faber <faber@isi.edu> / 2008-05-20T05:26:39Z+0000
Message:

working fc6 fed image!

Location:
fedkit
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • fedkit/federate.sh

    rf3691ff rf778038  
    113113# 
    114114# Unmount stuff before messing with accounts  
    115 # Linux doesn't believe in -A so run umount without it if the first fails 
    116115# 
    117116 
    118 umount -A -f -t nfs,smbfs,cifs  || umount -a -f -t nfs,smbfs,cifs 
     117case `uname` in 
     118        "FreeBSD") 
     119                umount -A -f -t nfs,smbfs,cifs 
     120                ;; 
     121        "Linux") 
     122                # Linux doesn't believe in -A so pull the filesystems out of 
     123                # /etc/mtab and umount them individually 
     124                for f in `$PERL -nae 'print "$F[1]\n" if $F[2] =~ /(nfs|cifs|smbfs)/;' /etc/mtab`; do 
     125                        umount -f $f 
     126                done 
     127                ;; 
     128esac 
    119129 
    120130# 
  • fedkit/make_hosts

    re06b224 rf778038  
    99 
    1010 
     11# XXX Danger, hack ahead.  Apparently our FC6-SMB image and emulab disagree 
     12# about where gated lives.  This will alias it. 
     13if [ ! -x /usr/sbin/gated ] ; then  
     14        if [ -x /sbin/gated ] ; then 
     15                ln /sbin/gated /usr/sbin/gated 
     16        fi 
     17fi 
     18/usr/local/etc/emulab/rc/rc.route  
     19 
    1120if [ ! -z "$2" ]; then  
    1221        su -l "$2" -c "$3"