Browse Source

Merge pull request #538 from netbootxyz/velt

add velt live OS, and add coreos to readme
Antony Messerli 5 năm trước cách đây
mục cha
commit
21d0fa6e63

+ 2 - 0
README.md

@@ -104,6 +104,7 @@ In addition to being able to host netboot.xyz locally, you can also create your
 |BlackArch Linux|https://blackarch.org| Yes | 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 |
@@ -142,6 +143,7 @@ In addition to being able to host netboot.xyz locally, you can also create your
 |Tails|https://tails.boum.org | No | Yes |
 |Tiny Core Linux|https://tinycorelinux.net| ISO - Memdisk | No |
 |Ubuntu|https://www.ubuntu.com| Yes | Yes |
+|Velt|https://velt.io/| No | Yes |
 |Voyager|https://voyagerlive.org | No | Yes |
 |Zoris OS|https://zorinos.com| No | Yes |
 

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

@@ -0,0 +1,36 @@
+#!ipxe
+
+goto ${menu} ||
+
+:live_menu
+set os Velt
+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 == "velt" %}
+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 == "velt" %}
+:{{ value.version }}
+set url ${live_endpoint}{{ value.path }}
+goto boot
+
+{% endif %}
+{% endfor %}
+
+:boot
+imgfree
+kernel ${url}vmlinuz archisobasedir=arch ip=dhcp archiso_http_srv=${url} initrd=initrd
+initrd ${url}initrd
+boot
+
+:live_exit
+clear menu
+exit 0

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

@@ -29,6 +29,7 @@ item live-regolith ${space} Regolith
 item live-sparky ${space} SparkyLinux
 item live-tails ${space} Tails
 item live-ubuntu ${space} Ubuntu
+item live-velt ${space} Velt
 item live-voyager ${space} Voyager
 item live-zorin ${space} Zorin OS
 choose menu || goto live_exit