Skip to content
Snippets Groups Projects
Commit c6a16673 authored by Lukáš Krupčík's avatar Lukáš Krupčík
Browse files

add reservation

parent 3d824609
No related branches found
Tags v2.0.0-beta.4
No related merge requests found
......@@ -6,6 +6,7 @@ form:
- account
- custom_queue
- bc_num_hours
- reservation
attributes:
desktop: "gnome"
......@@ -30,4 +31,9 @@ attributes:
options:
<%- User.new.groups.each do |group| %>
- "<%= group %>"
<%- end %>
\ No newline at end of file
<%- end %>
reservation:
label: "Reservation"
value: "none"
help: "Use only for reservation"
......@@ -21,3 +21,6 @@ script:
- "--gpus <%= ng %>"
- "--comment='use:xorg=True'"
<%- end -%>
<%- if reservation && reservation != "none" -%>
- "--reservation=<%= reservation %>"
<%- end -%>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment