瀏覽代碼

Adds support for Proxmox Text UI

Antony Messerli 1 年之前
父節點
當前提交
159e7f29dd
共有 2 個文件被更改,包括 16 次插入0 次删除
  1. 1 0
      CHANGELOG.md
  2. 15 0
      roles/netbootxyz/templates/menu/proxmox.ipxe.j2

+ 1 - 0
CHANGELOG.md

@@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file.
 
 - Fedora 39 stubbed out for release later this month
 - Ubuntu 23.10
+- Text UI support for Proxmox Distros
 
 ### Fixed
 

+ 15 - 0
roles/netbootxyz/templates/menu/proxmox.ipxe.j2

@@ -14,16 +14,19 @@ menu ${os}
 {% if value.os == "proxmox-backup-server" %}
 item --gap ${os} Backup Server
 item pbs-normal ${space} ${os} Backup Server {{ value.version }}
+item pbs-text ${space} ${os} Backup Server {{ value.version }} (Text)
 item pbs-debug ${space} ${os} Backup Server {{ value.version }} (Debug)
 {% endif %}
 {% if value.os == "proxmox-mailgateway" %}
 item --gap ${os} Mail Gateway
 item pmg-normal ${space} ${os} Mail Gateway {{ value.version }}
+item pmg-text ${space} ${os} Mail Gateway {{ value.version }} (Text)
 item pmg-debug ${space} ${os} Mail Gateway {{ value.version }} (Debug)
 {% endif %}
 {% if value.os == "proxmox-ve" %}
 item --gap ${os} VE
 item pve-normal ${space} ${os} VE {{ value.version }}
+item pve-text ${space} ${os} VE {{ value.version }} (Text)
 item pve-debug ${space} ${os} VE {{ value.version }} (Debug)
 {% endif %}
 {% endfor %}
@@ -34,6 +37,10 @@ goto ${proxmox_choice}
 set params splash=silent
 goto boot-pve
 
+:pve-text
+set params splash=silent proxtui
+goto boot-pve
+
 :pve-debug
 set params splash=verbose proxdebug
 goto boot-pve
@@ -42,6 +49,10 @@ goto boot-pve
 set params splash=silent
 goto boot-pmg
 
+:pmg-text
+set params splash=silent proxtui
+goto boot-pmg
+
 :pmg-debug
 set params splash=verbose proxdebug
 goto boot-pmg
@@ -50,6 +61,10 @@ goto boot-pmg
 set params splash=silent
 goto boot-pbs
 
+:pbs-text
+set params splash=silent proxtui
+goto boot-pbs
+
 :pbs-debug
 set params splash=verbose proxdebug
 goto boot-pbs