Changeset f778038 for fedkit


Ignore:
Timestamp:
May 19, 2008 10:26:39 PM (16 years ago)
Author:
Ted Faber <faber@…>
Branches:
axis_example, compt_changes, info-ops, master, version-1.30, version-2.00, version-3.01, version-3.02
Children:
7c3008e
Parents:
96d5279
Message:

working fc6 fed image!

Location:
fedkit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fedkit/federate.sh

    r96d5279 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

    r96d5279 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"
Note: See TracChangeset for help on using the changeset viewer.