Changeset 81fb2efee8df38077a5ddb0a836433287e729ac9

Show
Ignore:
Timestamp:
02/10/09 20:30:04 (3 years ago)
Author:
Frederic Lepied <frederic.lepied@…>
Children:
920e704d3e590918bbcc96affb46112454862f18
Parents:
4170c22b454a672cea64e02c9199b7099dbc9606
git-committer:
Frederic Lepied <frederic.lepied@…> (02/10/09 20:30:04)
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"