Robin Thoni 4 lat temu
rodzic
commit
7fd6b04886
Podpisane przez: Robin THONI <robin@rthoni.com> ID klucza GPG: 4E09DEF46B99E61E
2 zmienionych plików z 24 dodań i 3 usunięć
  1. 1
    1
      README
  2. 23
    2
      src/script.ipxe

+ 1
- 1
README Wyświetl plik

@@ -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 Wyświetl plik

@@ -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

Ładowanie…
Anuluj
Zapisz