Browse Source

added squashfs support in boot.ipxe

tags/v1.0.1^0
Robin Thoni 6 years ago
parent
commit
e77baf6dac
2 changed files with 7 additions and 0 deletions
  1. 7
    0
      data/apache/files/boot.ipxe
  2. 0
    0
      data/apache/files/unix/livesquash/.gitkeep

+ 7
- 0
data/apache/files/boot.ipxe View File

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

+ 0
- 0
data/apache/files/unix/livesquash/.gitkeep View File


Loading…
Cancel
Save