xcat-core/xCAT-server/share/xcat/netboot/windows/startnet.cmd
jbjohnso 6d7d5bce41 -Have windows reboot when the install is done
-Update status on server when install action completes
-Set up EMS according to nodehm settings


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1728 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-20 21:28:57 +00:00

12 lines
415 B
Batchfile

@echo off
wpeinit
ping -n 10 127.0.0.1 > NUL 2>&1
md \temp
for /f "delims=: tokens=2" %%c in ('ipconfig /all ^|find "DHCP Server"') do set XCATD=%%c
for /f %%c in ('echo %XCATD%') do set XCATD=%%c
net use i: \\%XCATD%\install
for /f "delims=: tokens=2" %%c in ('ipconfig ^|find "IPv4 Address. . ."') do set NODEIP=%%c
for /f %%c in ('echo %NODEIP%') do set NODEIP=%%c
i:\autoinst\%NODEIP%
wpeutil reboot