Changeset 81fb2efee8df38077a5ddb0a836433287e729ac9 for contrib
- Timestamp:
- 02/10/09 20:30:04 (19 months ago)
- Parents:
- 4170c22b454a672cea64e02c9199b7099dbc9606
- Children:
- 920e704d3e590918bbcc96affb46112454862f18
- git-committer:
- Frederic Lepied <frederic.lepied@splitted-desktop.com> / 2009-02-10T20:30:04Z+0100
- Files:
-
- 1 modified
-
contrib/pxe-installer/init (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
contrib/pxe-installer/init
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 mac42 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"