#!ipxe set timeout 0 set timeout-style hidden set ISODIR ogLive set default 0 set kernelargs ro boot=oginit quiet splash irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=true ogdebug=true ogtmpfs=15 oglivedir=${ISODIR} LANG=es_ES.UTF-8 ip=192.168.2.11:192.168.2.1:192.168.2.1:255.255.255.0:pc11:eth0:none group=Aula_virtual ogrepo=192.168.2.1 oglive=192.168.2.1 oglog=192.168.2.1 ogshare=192.168.2.1 ogprof=false vga=788 #kernel tftp://172.17.8.71/ogclient/ogvmlinuz ${kernelargs} echo "OgLive $ISODIR" echo "-----------------------TEST------------------------------------" #route #echo -n Set network interface number [0 for net0, defaults to 0]: ${} && read net #isset ${net} || set net 0 #echo -n IP: && read net${net}/ip #echo -n Subnet mask: && read net${net}/netmask #echo -n Gateway: && read net${net}/gateway #echo -n DNS: && read dns ifopen net0 route #echo Comprobando la conectividad con el servidor 172.17.8.71 #ping 172.17.8.71 #kernel http://172.17.8.71/ogclient/ogvmlinuz #echo Verificando la conectividad con el servidor 172.17.8.71 #imgfetch tftp://172.17.8.71/ogclient/testfile || goto fail #imgfetch tftp://172.17.8.71/ogclient/ogvmlinuz || goto fail #sleep 10 # Si no existe el ogLive de ISODIR en la red, inicio ogLive por defecto #kernel tftp://172.17.8.71/ogclient/ogvmlinuz ro boot=oginit quiet splash irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=true ogdebug=true ogtmpfs=15 oglivedir=$ISODIR LANG=es_ES.UTF-8 ip=192.168.2.11:192.168.2.1:192.168.2.1:255.255.255.0:pc11:eth0:none group=Aula_virtual ogrepo=192.168.2.1 oglive=192.168.2.1 oglog=192.168.2.1 ogshare=192.168.2.1 ogprof=false vga=788 time kernel tftp://172.17.8.71/ogLive/ogvmlinuz ${kernelargs} #sleep 10 time initrd tftp://172.17.8.71/ogLive/oginitrd.img sleep 10 boot