-
-
Notifications
You must be signed in to change notification settings - Fork 670
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1495 from netbootxyz/vanillaos
Adding support for Vanilla OS
- Loading branch information
Showing
3 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters