wok annotate ipxe/stuff/ipxe.cmd @ rev 20250
firefox: force 32 bits arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 16:48:27 2018 +0100 (2018-03-12) |
parents | 3fe265729ca7 |
children | 4c700cf9a7cd |
rev | line source |
---|---|
pascal@15368 | 1 #!ipxe |
pascal@15368 | 2 |
pascal@15368 | 3 set menu-timeout 3000 |
pascal@20188 | 4 dhcp && isset ${filename} && autoboot || |
pascal@20188 | 5 console --picture http://mirror.slitaz.org/pxe/ipxe/slitaz.png || |
pascal@15368 | 6 |
pascal@15368 | 7 :menu |
pascal@19330 | 8 menu SliTaz net boot menu |
pascal@15385 | 9 item --key b boot Local boot |
pascal@19326 | 10 item --gap |
pascal@20219 | 11 item --gap Configuration |
pascal@20219 | 12 item --key e exit iPXE command line |
pascal@20219 | 13 item --key c config iPXE configuration |
pascal@20219 | 14 isset ${ip} || goto noip |
pascal@20219 | 15 item --gap |
pascal@19326 | 16 item --gap Network boot |
pascal@20219 | 17 isset ${filename} && item --key l lan Your PXE boot ${filename} || |
pascal@15368 | 18 item --key w web SliTaz WEB boot |
pascal@15368 | 19 item --key r rolling SliTaz development version |
pascal@20219 | 20 goto endip |
pascal@20219 | 21 :noip |
pascal@20219 | 22 item --key i ipset IP settings |
pascal@20219 | 23 :endip |
pascal@15368 | 24 choose --timeout ${menu-timeout} --default web target || goto exit |
pascal@15368 | 25 set menu-timeout 0 |
pascal@19323 | 26 isset ${dns} || set dns 8.8.8.8 |
pascal@15368 | 27 goto ${target} |
pascal@15368 | 28 |
pascal@15385 | 29 :boot |
pascal@15385 | 30 exit |
pascal@15385 | 31 |
pascal@15368 | 32 :exit |
pascal@15368 | 33 help |
pascal@15368 | 34 echo Type 'exit' to get the back to the menu |
pascal@15368 | 35 shell |
pascal@15368 | 36 goto menu |
pascal@15368 | 37 |
pascal@19326 | 38 :ipset |
pascal@19326 | 39 echo -n IP address: && read net0/ip |
pascal@19326 | 40 set net0/netmask 255.255.255.0 |
pascal@19326 | 41 echo -n Subnet mask: ${} && read net0/netmask |
pascal@19326 | 42 echo -n Default gateway: && read net0/gateway |
pascal@19326 | 43 echo -n DNS server: ${} && read dns |
pascal@19326 | 44 goto menu |
pascal@19326 | 45 |
pascal@15368 | 46 :web |
pascal@15368 | 47 imgfree |
pascal@15368 | 48 set weburl http://mirror.slitaz.org/pxe/ |
pascal@18836 | 49 chain --autofree ${weburl}ipxe/menu.ipxe && boot || |
pascal@18839 | 50 set weburl http://mirror.switch.ch/ftp/mirror/slitaz/pxe/ |
pascal@18839 | 51 chain --autofree ${weburl}ipxe/menu.ipxe && boot || |
pascal@18839 | 52 set weburl http://download.tuxfamily.org/slitaz/pxe/ |
pascal@18839 | 53 chain --autofree ${weburl}ipxe/menu.ipxe && boot || |
pascal@18851 | 54 set weburl http://mirror1.slitaz.org/pxe/ |
pascal@18851 | 55 chain --autofree ${weburl}ipxe/menu.ipxe && boot || |
pascal@18851 | 56 set weburl http://mirror2.slitaz.org/pxe/ |
pascal@18851 | 57 chain --autofree ${weburl}ipxe/menu.ipxe && boot || |
pascal@18851 | 58 set weburl http://mirror3.slitaz.org/pxe/ |
pascal@18851 | 59 chain --autofree ${weburl}ipxe/menu.ipxe && boot || |
pascal@15368 | 60 goto menu |
pascal@15368 | 61 |
pascal@15368 | 62 :lan |
pascal@15368 | 63 autoboot || |
pascal@15368 | 64 goto menu |
pascal@15368 | 65 |
pascal@15368 | 66 :rolling |
pascal@15368 | 67 sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso || |
pascal@15368 | 68 goto menu |
pascal@15368 | 69 |
pascal@15368 | 70 :config |
pascal@15368 | 71 config |
pascal@15368 | 72 goto menu |