Переглянути джерело

Merge pull request #559 from netbootxyz/raizo-fatdog

Raizo fatdog
Antony Messerli 5 роки тому
батько
коміт
2d4da18ffb

+ 71 - 69
README.md

@@ -98,78 +98,80 @@ In addition to being able to host netboot.xyz locally, you can also create your
 
 | Name       | URL             | Installer Kernel | Live OS       |
 |------------|-----------------|------------------|---------------|
-|Alpine Linux| https://alpinelinux.org | Yes | No |
-|Anarchy Linux| https://www.anarchylinux.org | Yes | No |
-|Arch Linux| https://www.archlinux.org| Yes | No |
-|Backbox|https://www.backbox.org | No | Yes |
-|BlackArch Linux|https://blackarch.org| Yes | Yes |
-|Bluestar Linux|https://sourceforge.net/projects/bluestarlinux| No | Yes |
-|Bodhi Linux|https://www.bodhilinux.com| No | Yes |
-|CentOS| https://centos.org | Yes | No |
-|CoreOS| http://coreos.com/ | Yes | No |
-|Debian| https://debian.org | Yes | Yes|
-|Deepin| https://www.deepin.org | No | Yes |
-|Devuan| https://devuan.org | Yes | No |
-|Elementary OS| https://elementary.io | No | Yes |
-|Fedora| https://fedoraproject.org | Yes | Yes |
-|Feren OS| https://ferenos.weebly.com/ | Yes | No |
-|Flatcar Linux|https://www.flatcar-linux.org| Yes | No |
-|FreeBSD|https://freebsd.org| Yes, disk image | No |
-|FreeDOS|http://www.freedos.org| ISO - Memdisk| No |
-|Gentoo|https://gentoo.org| Yes | Yes |
-|IPFire|https://www.ipfire.org| Yes | No |
-|Kali Linux|https://www.kali.org| Yes | Yes |
-|KDE Neon|https://neon.kde.org | No | Yes |
-|Kodachi|https://www.digi77.com/linux-kodachi/ | No | Yes |
-|Linux Lite| https://www.linuxliteos.com | No | Yes |
-|LXLE| https://lxle.net/ | No | Yes |
-|Mageia|https://www.mageia.org| Yes | No |
-|Manjaro|https://manjaro.org| No | Yes |
-|Mint|https://linuxmint.com| No | Yes |
-|Microsoft Windows|https://www.microsoft.com| User supplied media | No |
-|MirOS|https://www.mirbsd.org| Yes | No |
-|Nitrux|https://nxos.org/| No | Yes |
-|NixOS|https://nixos.org| Yes | No |
-|OpenBSD|https://openbsd.org| Yes | No |
-|OpenSUSE|https://opensuse.org| Yes | No |
-|Oracle Linux|https://www.oracle.com/linux/| Yes | Installer |
-|Parrot Security|https://www.parrotsec.org| Yes | Yes |
-|Peppermint|https://peppermintos.com | No | Yes |
-|Pop OS|https://system76.com/pop| No | Yes |
-|Q4OS|https://q4os.org | No | Yes |
-|RancherOS|https://rancher.com/rancher-os| Yes | No |
-|Red Hat Enterprise Linux|https://www.redhat.com| User supplied media | No |
-|Regolith|https://regolith-linux.org| No | Yes |
-|Scientific Linux|https://scientificlinux.org| Yes | No |
-|Septor|https://septor.sourceforge.io| No | Yes |
-|Slackware|https://www.slackware.com| Yes | No |
-|SparkyLinux|https://sparkylinux.org/| No | Yes |
-|Tails|https://tails.boum.org | No | Yes |
-|Tiny Core Linux|https://tinycorelinux.net| Yes | Yes |
-|Ubuntu|https://www.ubuntu.com| Yes | Yes |
-|Velt|https://velt.io/| No | Yes |
-|Voyager|https://voyagerlive.org | No | Yes |
-|Zen Installer|https://sourceforge.net/projects/revenge-installer| Yes | No |
-|Zorin OS|https://zorinos.com| No | Yes |
+| Alpine Linux | https://alpinelinux.org | Yes | No |
+| Anarchy Linux | https://www.anarchylinux.org | Yes | No |
+| Arch Linux | https://www.archlinux.org | Yes | No |
+| Backbox | https://www.backbox.org | No | Yes |
+| BlackArch Linux | https://blackarch.org | Yes | Yes |
+| Bluestar Linux | https://sourceforge.net/projects/bluestarlinux | No | Yes |
+| Bodhi Linux | https://www.bodhilinux.com | No | Yes |
+| CentOS | https://centos.org | Yes | No |
+| CoreOS | http://coreos.com/ | Yes | No |
+| Debian | https://debian.org | Yes | Yes|
+| Deepin | https://www.deepin.org | No | Yes |
+| Devuan | https://devuan.org | Yes | No |
+| Elementary OS | https://elementary.io | No | Yes |
+| Fatdog64 | https://distro.ibiblio.org/fatdog/web/ | No | Yes |
+| Fedora | https://fedoraproject.org | Yes | Yes |
+| Feren OS | https://ferenos.weebly.com/ | Yes | No |
+| Flatcar Linux | https://www.flatcar-linux.org | Yes | No |
+| FreeBSD | https://freebsd.org | Yes, disk image | No |
+| FreeDOS | http://www.freedos.org | ISO - Memdisk| No |
+| Gentoo | https://gentoo.org | Yes | Yes |
+| IPFire | https://www.ipfire.org | Yes | No |
+| Kali Linux | https://www.kali.org | Yes | Yes |
+| KDE Neon | https://neon.kde.org | No | Yes |
+| Kodachi | https://www.digi77.com/linux-kodachi/ | No | Yes |
+| Linux Lite | https://www.linuxliteos.com | No | Yes |
+| LXLE | https://lxle.net/ | No | Yes |
+| Mageia | https://www.mageia.org | Yes | No |
+| Manjaro | https://manjaro.org | No | Yes |
+| Mint | https://linuxmint.com | No | Yes |
+| Microsoft Windows | https://www.microsoft.com | User supplied media | No |
+| MirOS | https://www.mirbsd.org | Yes | No |
+| Nitrux | https://nxos.org/ | No | Yes |
+| NixOS | https://nixos.org | Yes | No |
+| OpenBSD | https://openbsd.org | Yes | No |
+| OpenSUSE | https://opensuse.org | Yes | No |
+| Oracle Linux | https://www.oracle.com/linux/ | Yes | Installer |
+| Parrot Security | https://www.parrotsec.org | Yes | Yes |
+| Peppermint | https://peppermintos.com | No | Yes |
+| Pop OS |https://system76.com/pop| No | Yes |
+| Q4OS | https://q4os.org | No | Yes |
+| Raizo | https://sourceforge.net/projects/live-raizo/ | No | Yes |
+| RancherOS | https://rancher.com/rancher-os | Yes | No |
+| Red Hat Enterprise Linux | https://www.redhat.com | User supplied media | No |
+| Regolith | https://regolith-linux.org | No | Yes |
+| Scientific Linux | https://scientificlinux.org | Yes | No |
+| Septor | https://septor.sourceforge.io | No | Yes |
+| Slackware | https://www.slackware.com | Yes | No |
+| SparkyLinux | https://sparkylinux.org/ | No | Yes |
+| Tails | https://tails.boum.org | No | Yes |
+| Tiny Core Linux | https://tinycorelinux.net | Yes | Yes |
+| Ubuntu | https://www.ubuntu.com | Yes | Yes |
+| Velt | https://velt.io/ | No | Yes |
+| Voyager | https://voyagerlive.org | No | Yes |
+| Zen Installer | https://sourceforge.net/projects/revenge-installer | Yes | No |
+| Zorin OS | https://zorinos.com | No | Yes |
 
 ### Utilities
 
-| Name       | URL                     | Installer Kernel | Live OS |
-|------------|-------------------------|------------------|---------|
-|ALT Linux Rescue|https://en.altlinux.org/Rescue| ISO - Memdisk | - |
-|Boot Repair CD|https://sourceforge.net/projects/boot-repair-cd/| NA | Yes |
-|Breakin|http://www.advancedclustering.com/products/software/breakin/| Yes | Yes |
-|CAINE|https://www.caine-live.net/| NA | Yes |
-|Clonezilla|http://www.clonezilla.org/| - | Yes |
-|DBAN|http://www.dban.org/| Yes | Yes |
-|GParted|http://gparted.org| NA | Yes |
-|Grml|http://grml.org| NA | Yes |
-|Kaspersky Rescue Disk|https://support.kaspersky.com/viruses/krd18| NA | Yes |
-|Memtest|http://www.memtest.org/| Yes | - |
-|Rescatux|https://www.supergrubdisk.org/rescatux/| NA | Yes |
-|Super Grub2 Disk|http://www.supergrubdisk.org| ISO - Memdisk | - |
-|System Rescue CD|http://www.system-rescue-cd.org/| NA | Yes |
-|Ultimate Boot CD|http://www.ultimatebootcd.com| ISO - Memdisk | - |
+| Name       | URL                     | Type |
+|------------|-------------------------|------|
+| ALT Linux Rescue | https://en.altlinux.org/Rescue | ISO - Memdisk |
+| Boot Repair CD | https://sourceforge.net/projects/boot-repair-cd/ | LiveCD |
+| Breakin | http://www.advancedclustering.com/products/software/breakin/ | Kernel/Initrd |
+| CAINE | https://www.caine-live.net/ | LiveCD |
+| Clonezilla | http://www.clonezilla.org/ | LiveCD |
+| DBAN | http://www.dban.org/ | Kernel |
+| GParted | http://gparted.org | LiveCD |
+| Grml | http://grml.org | LiveCD |
+| Kaspersky Rescue Disk | https://support.kaspersky.com/viruses/krd18 | LiveCD |
+| Memtest | http://www.memtest.org/ | Kernel |
+| Rescatux | https://www.supergrubdisk.org/rescatux/ | LiveCD |
+| Super Grub2 Disk | http://www.supergrubdisk.org | ISO - Memdisk |
+| System Rescue CD | http://www.system-rescue-cd.org/ | LiveCD |
+| Ultimate Boot CD | http://www.ultimatebootcd.com | ISO - Memdisk |
 
 ### Feedback
 

+ 36 - 0
roles/netbootxyz/templates/menu/live-fatdog.ipxe.j2

@@ -0,0 +1,36 @@
+#!ipxe
+
+goto ${menu} ||
+
+:live_menu
+set os Fatdog64
+menu ${os} - Current Arch [ ${arch} ]
+iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
+item --gap ${os} Versions
+{% for key, value in endpoints.items() | sort %}
+{% if value.os == "fatdog" %}
+item {{ value.version }} ${space} ${os} {{ value.version }}
+{% endif %}
+{% endfor %}
+choose live_version || goto live_exit
+goto ${live_version}
+
+
+{% for key, value in endpoints.items() | sort %}
+{% if value.os == "fatdog" %}
+:{{ value.version }}
+set url ${live_endpoint}{{ value.path }}
+goto boot
+
+{% endif %}
+{% endfor %}
+
+:boot
+imgfree
+kernel ${url}vmlinuz rootfstype=ramfs initrd=initrd
+initrd ${url}initrd
+boot
+
+:live_exit
+clear menu
+exit 0

+ 37 - 0
roles/netbootxyz/templates/menu/live-raizo.ipxe.j2

@@ -0,0 +1,37 @@
+#!ipxe
+
+goto ${menu} ||
+
+:live_menu
+set os Live Raizo
+menu ${os} - Current Arch [ ${arch} ]
+iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
+item --gap ${os} Versions
+{% for key, value in endpoints.items() | sort %}
+{% if value.os == "raizo" %}
+item {{ value.version }} ${space} ${os} {{ value.version }}
+{% endif %}
+{% endfor %}
+choose live_version || goto live_exit
+goto ${live_version}
+
+
+{% for key, value in endpoints.items() | sort %}
+{% if value.os == "raizo" %}
+:{{ value.version }}
+set squash_url ${live_endpoint}{{ value.path }}filesystem.squashfs
+set kernel_url ${live_endpoint}{{ value.path }}
+goto boot
+
+{% endif %}
+{% endfor %}
+
+:boot
+imgfree
+kernel ${kernel_url}vmlinuz boot=live fetch=${squash_url} initrd=initrd
+initrd ${kernel_url}initrd
+boot
+
+:live_exit
+clear menu
+exit 0

+ 2 - 0
roles/netbootxyz/templates/menu/live.ipxe.j2

@@ -13,6 +13,7 @@ item live-debian ${space} Debian
 item live-deepin ${space} Deepin
 item live-devuan ${space} Devuan
 item live-elementary ${space} elementary OS
+item live-fatdog ${space} Fatdog64
 item live-fedora ${space} Fedora
 item live-feren ${space} Feren OS
 item live-kali ${space} Kali
@@ -27,6 +28,7 @@ item live-parrot ${space} Parrot OS
 item live-peppermint ${space} Peppermint
 item live-popos ${space} Pop OS
 item live-q4os ${space} Q4OS
+item live-raizo ${space} Live Raizo
 item live-regolith ${space} Regolith
 item live-septor ${space} Septor
 item live-sparky ${space} SparkyLinux