Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for Vanilla OS #1495

Merged
merged 1 commit into from
Aug 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ In addition to being able to host netboot.xyz locally, you can also create your
| Ubuntu | https://www.ubuntu.com | Yes | Yes |
| VMware | https://www.vmware.com | User supplied media | No |
| VMware Photon | https://vmware.github.io/photon/ | Yes | No |
| Vanilla OS | https://vanillaos.org | No | Yes |
| Voyager | https://voyagerlive.org | No | Yes |
| VyOS | https://vyos.io | Yes | No |
| Zen Installer | https://sourceforge.net/projects/revenge-installer | Yes | No |
Expand Down
33 changes: 33 additions & 0 deletions roles/netbootxyz/templates/menu/live-vanillaos.ipxe
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
#!ipxe

goto ${menu} ||

:live_menu
set os Vanilla OS
menu ${os}
item --gap ${os} Versions
{% for key, value in endpoints.items() | sort %}
{% if value.os == "vanilla-os" %}
item vanilla_{{ 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 == "vanilla-os" %}
:vanilla_{{ value.version }}
set kernel_url ${live_endpoint}{{ value.path }}
goto boot
{% endif %}
{% endfor %}

:boot
imgfree
kernel ${kernel_url}vmlinuz boot=live fetch=${kernel_url}/filesystem.squashfs config username=vanilla user-fullname=Vanilla quiet splash bgrt_disable modprobe.blacklist=nouveau initrd=initrd.magic ${cmdline}
initrd ${kernel_url}initrd.img
boot

:live_exit
clear menu
exit 0
1 change: 1 addition & 0 deletions roles/netbootxyz/templates/menu/live.ipxe.j2
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ item live-sparky ${space} SparkyLinux
item live-tails ${space} Tails
item tinycore ${space} Tiny Core Linux
item live-ubuntu ${space} Ubuntu
item live-vanillaos ${space} Vanilla OS
item live-voyager ${space} Voyager
item live-zorin ${space} Zorin OS
choose menu || goto live_exit
Expand Down
Loading