소스 검색

adding zen graphical installer for Arch

thelamer 5 년 전
부모
커밋
f6f1efff3e
3개의 변경된 파일36개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      README.md
  2. 7 0
      roles/netbootxyz/defaults/main.yml
  3. 27 0
      roles/netbootxyz/templates/menu/zeninstall.ipxe.j2

+ 2 - 1
README.md

@@ -147,7 +147,8 @@ In addition to being able to host netboot.xyz locally, you can also create your
 |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 |
+|Zen Installer|https://sourceforge.net/projects/revenge-installer| Yes | No |
+|Zorin OS|https://zorinos.com| No | Yes |
 
 ### Utilities
 

+ 7 - 0
roles/netbootxyz/defaults/main.yml

@@ -385,6 +385,13 @@ releases:
         code_name: "bionic"
       - name: "16.04 LTS Xenial Xerus"
         code_name: "xenial"
+  zeninstall:
+    name: "Zen Installer Arch"
+    enabled: true
+    menu: "linux"
+    versions:
+      - name: "current"
+        code_name: "current"
 
 # utility values
 utilitiespcbios:

+ 27 - 0
roles/netbootxyz/templates/menu/zeninstall.ipxe.j2

@@ -0,0 +1,27 @@
+#!ipxe
+
+# Zen Installer for Arch
+# https://sourceforge.net/projects/revenge-installer/
+
+goto ${menu}
+
+:zen
+set os {{ releases.zeninstall.name }}
+menu ${os} Installers
+{% for item in releases.zeninstall.versions %}
+item {{ item.code_name }} ${space} ${os} {{ item.name }}
+{% endfor %}
+choose zen_version || goto zen_exit
+goto zen_boot
+
+:zen_boot
+imgfree
+set url ${live_endpoint}{{ endpoints.zeninstall.path }}
+kernel ${url}vmlinuz archisobasedir=arch ip=dhcp archiso_http_srv=${url} initrd=initrd
+initrd ${url}initrd
+boot
+goto zen_exit
+
+:zen_exit
+clear menu
+exit 0