playbooks/roles/ood-applications/files/bc_vmd/form.yml.erb (40 lines of code) (raw):

--- cluster: - "ondemand" form: - bc_num_hours - target - bucket - vmd_home attributes: bc_num_hours: widget: "number_field" label: "Maximum duration in hours of your session" value: 1 help: | This is the maximum duration in hours of your session once started. <br> step: 1 vmd_home: label: "VMD Installation Directory" help: | Specify the VMD Home Directory value: "/anfhome/apps/vmd" target: widget: "select" label: "Session target" help: | Select the resource target for the remote desktop session <br> options: <%- File.readlines("/etc/ood/config/apps/bc_desktop/config/viz_nodes.yml").each do |line| %> <%= line.to_s %> <%- end %> bucket: widget: "select" label: "Node bucket" help: | Select how much of the node you want to use <br> options: - [" 1/8 of the node", "8"] - [" 1/4 of the node", "4"] - [" 1/2 of the node", "2"] - [" the full node", "1"]