|
@@ -6,6 +6,7 @@ menu netboot.${domain} PXE
|
6
|
6
|
<?php
|
7
|
7
|
|
8
|
8
|
$types = [['live', 'unix/live', 'Live'],
|
|
9
|
+ ['livesquash', 'unix/livesquash', 'Live Squash'],
|
9
|
10
|
['iso', 'iso', 'ISO'],
|
10
|
11
|
['install', 'unix/install', 'Installers'],
|
11
|
12
|
['winpe', 'winpe', 'Windows PE']];
|
|
@@ -75,6 +76,12 @@ set unix live/${live}
|
75
|
76
|
set options vga=normal ramdisk_size=14332 root=/dev/nfs nfsroot=10.15.44.1:/pxeroot/${live} rw --
|
76
|
77
|
goto boot-unix
|
77
|
78
|
|
|
79
|
+:boot-livesquash
|
|
80
|
+kernel unix/livesquash/${livesquash}/vmlinuz
|
|
81
|
+initrd unix/livesquash/${livesquash}/initrd.img
|
|
82
|
+imgargs vmlinuz boot=live config hooks=filesystem username=live noeject fetch=http://netboot/unix/livesquash/${livesquash}/filesystem.squashfs
|
|
83
|
+boot
|
|
84
|
+
|
78
|
85
|
:boot-unix
|
79
|
86
|
initrd unix/${unix}/initrd.img
|
80
|
87
|
boot unix/${unix}/vmlinuz ${options}
|