Robin Thoni 4 anos atrás
pai
commit
7fd6b04886
Acessado por: Robin THONI <robin@rthoni.com> ID da chave GPG: 4E09DEF46B99E61E
2 arquivos alterados com 24 adições e 3 exclusões
  1. 1
    1
      README
  2. 23
    2
      src/script.ipxe

+ 1
- 1
README Ver arquivo

@@ -3,6 +3,6 @@ iPXE README File
3 3
 Quick start guide:
4 4
 
5 5
    cd src
6
-   make
6
+   make bin/undionly.kpxe EMBED=script.ipxe
7 7
 
8 8
 For any more detailed instructions, see http://ipxe.org

+ 23
- 2
src/script.ipxe Ver arquivo

@@ -1,4 +1,25 @@
1 1
 #!ipxe
2 2
 
3
-dhcp
4
-chain http://netboot/boot.ipxe
3
+dhcp && isset ${filename} || goto fallback
4
+echo Booting from ${filename}
5
+chain ${filename}
6
+
7
+:fallback
8
+menu Fallback PXE
9
+
10
+item --gap -- Misc
11
+item chain-online Chain on rthoni.com
12
+item shell Shell
13
+item reboot Reboot
14
+choose choice && goto ${choice}
15
+
16
+:chain-online
17
+chain http://netboot.rthoni.com/boot.ipxe
18
+
19
+:shell
20
+shell
21
+
22
+:reboot
23
+reboot
24
+
25
+#chain http://netboot/boot.ipxe

Carregando…
Cancelar
Salvar