beta-tester / RPi-PXE-Server

setup a Raspberry Pi as an PXE-Server
307 stars 63 forks source link

could you add any way to add custom iso #22

Closed mzramna closed 5 years ago

mzramna commented 5 years ago

could you create any way to add extra links to other linux distro into the code? any thing like a bash script to add the name of distro into a column of a csv file and into the others column the links

beta-tester commented 5 years ago

you mean you want a script where you can add lines like:

#add_new_entry "colDistro" "colUrl" "colType" "colMenu" "colKernel" "colAppend" "colInitrd";

add_new_entry \
    "WIN_PE_X86" \
    "" \
    "iso" \
    "memdisk" \
    "" \
    "" \
    "" \
    ;

add_new_entry \
    "DEBIAN_X86" \
    "https://cdimage.debian.org/debian-cd/current-live/i386/iso-hybrid/debian-live-9.9.0-i386-xfce.iso" \
    "iso" \
    "default" \
    "/live/vmlinuz-\$DEBIAN_KVER-686" \
    "nfsroot=\$IP_ETH0:\$DST_NFS_ETH0/\$DEBIAN_X86 ro netboot=nfs boot=live config --" \
    "/live/initrd.img-\$DEBIAN_KVER-686" \
    ;

and it will add the parts to p2-include-url.sh, p2-include-menu.sh and p2-include-handle.sh for you?