We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2a4616 commit 3919ef4Copy full SHA for 3919ef4
roles/ood_vnc_form/templates/cluster.yml
@@ -1,3 +1,6 @@
1
+<%-
2
+ partitions = OodAppkit.clusters[:{{ cluster_name }}].custom_config[:partitions]
3
+-%>
4
---
5
title: "HPC Desktop"
6
cluster: {{ cluster_name }}
@@ -23,8 +26,9 @@ attributes:
23
26
widget: select
24
27
label: Partition
25
28
options:
- - [ "defq", "defq" ]
- - [ "low", "low" ]
29
+ <%- partitions.each do |p| -%>
30
+ - [ "<%= p %>", "<%= p %>" ]
31
+ <%- end -%>
32
33
form:
34
- desktop
0 commit comments