Changeset 81fb2efee8df38077a5ddb0a836433287e729ac9
- 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:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r0cdcde4
|
r81fb2ef
|
|
| 37 | 37 | # request install script from the server |
| 38 | 38 | mac=`ifconfig |grep HWaddr|sed -e 's/.*HWaddr //' -e 's/-/:/' -e 's/ *//g' |head -1` |
| 39 | | profile=`wget -q -O- $booturl/profile/$mac/` |
| | 39 | profile=`wget -q -O- $booturl/profile/` |
| 40 | 40 | wget -q $insturl/$profile/install.script || wget -q $insturl/install.script |
| 41 | | export mac |
| 42 | 41 | export profile |
| 43 | 42 | chmod +x install.script |
| … |
… |
|
| 46 | 45 | # request localboot if the install script exited with a good status |
| 47 | 46 | if [ $? = 0 ]; then |
| 48 | | wget -q $booturl/localboot/$mac/ |
| | 47 | wget -q $booturl/localboot/ |
| 49 | 48 | else |
| 50 | 49 | echo "failed install" |