Show
Ignore:
Timestamp:
02/10/09 20:30:04 (19 months ago)
Author:
Frederic Lepied <frederic.lepied@…>
Parents:
4170c22b454a672cea64e02c9199b7099dbc9606
Children:
920e704d3e590918bbcc96affb46112454862f18
git-committer:
Frederic Lepied <frederic.lepied@splitted-desktop.com> / 2009-02-10T20:30:04Z+0100
Message:

do not use the mac address anymore

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • contrib/pxe-installer/init

    r0cdcde4 r81fb2ef  
    3737# request install script from the server 
    3838mac=`ifconfig |grep HWaddr|sed -e 's/.*HWaddr //' -e 's/-/:/' -e 's/ *//g' |head -1` 
    39 profile=`wget -q -O- $booturl/profile/$mac/` 
     39profile=`wget -q -O- $booturl/profile/` 
    4040wget -q $insturl/$profile/install.script || wget -q $insturl/install.script 
    41 export mac 
    4241export profile 
    4342chmod +x install.script 
     
    4645# request localboot if the install script exited with a good status 
    4746if [ $? = 0 ]; then 
    48     wget -q $booturl/localboot/$mac/ 
     47    wget -q $booturl/localboot/ 
    4948else 
    5049    echo "failed install"