# Modified apps in /etc/ood/config/apps not showing up as pinned

**URL:** <https://discourse.openondemand.org/t/modified-apps-in-etc-ood-config-apps-not-showing-up-as-pinned/1528>\
**Category:** Get Help\
**Tags:** ondemand2\
**Created:** [June 9, 2021, 5:49pm UTC](https://discourse.openondemand.org/t/modified-apps-in-etc-ood-config-apps-not-showing-up-as-pinned/1528 "2021-06-09T17:49:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsand](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/rsand/32/743_2.png) [@rsand](https://discourse.openondemand.org/u/rsand)\
**Post date:** [June 9, 2021, 5:49pm UTC](https://discourse.openondemand.org/t/modified-apps-in-etc-ood-config-apps-not-showing-up-as-pinned/1528/1 "2021-06-09T17:49:12Z")

</div>

I have noticed that if I have an app with a modified form.yml in /etc/ood/config/apps/\<application\> directory the app does not get pinned to the desktop even if there is a metadata tag in the /var/www/ood/apps/sys/\<application\> directory. I am not sure if this was meant to do this or if I need to put a manifest.yml file in the /etc/ood/config/app/\<application\> dir.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [June 9, 2021, 6:26pm UTC](https://discourse.openondemand.org/t/modified-apps-in-etc-ood-config-apps-not-showing-up-as-pinned/1528/2 "2021-06-09T18:26:35Z")

</div>

I’ve only tried it with desktops (under config/apps/bc\_desktop), but it should work. Can you share the pinned apps configuration?

---

<div class="post-metadata">

**Author:** ![rsand](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/rsand/32/743_2.png) [@rsand](https://discourse.openondemand.org/u/rsand)\
**Post date:** [June 10, 2021, 11:45am UTC](https://discourse.openondemand.org/t/modified-apps-in-etc-ood-config-apps-not-showing-up-as-pinned/1528/3 "2021-06-10T11:45:03Z")

</div>

## This is an interactive desktop with native vnc support –manifest.yml from /var/www/ood/apps/sys –

name: Desktop (Native VNC)  
icon: fa://desktop  
category: Interactive Apps  
subcategory: Desktops  
role: batch\_connect  
metadata:  
pintype: Interactive Desktops  
description: |  
This app will launch an interactive desktop …

– form.yml.erb from /etc/ood/config/apps –

## \<%- cmd=“/opt/mam/bin/mam-list-accounts -A --quiet --show Name | egrep ‘[bshlg]c\_|_[pk][0-9]+_’” allocations = user = User.new cache = ActiveSupport::Cache::FileStore.new(“/tmp/ood\_cache/#{user.name}/bc\_desktop”, expires\_in: 12.hours) cache.cleanup() allocations = cache.fetch(‘allocations’, race\_condition\_ttl: 10.seconds) do callocations = begin output, status = Open3.capture2e(cmd) if status.success? callocations = output.split(“\n”).map(&:strip).reject(&:blank?).sort else raise output end rescue =\> e callocations = error = e.message.strip end callocations end acii\_res= File.open(“/tmp/gdesktop-res”).to\_a.first.chomp! -%\>

title: “RHEL7 ACI Desktop - Native VNC”  
cluster: “aci”  
form:

- desktop
- aci\_account
- bc\_num\_hours
- bc\_num\_slots
- node\_type
- bc\_email\_on\_started
- acii\_reservation  
submit: “submit.yml.erb”  
attributes:  
desktop:  
label: “Desktop Envirionment”  
widget: select  
options:
  - [“MATE (Gnome 2)”, “mate”]  
aci\_account:  
label: “Allocation”  
help: “Please select an allocation from the drop-down.”  
widget: select  
options:
  - [“open”, “open”]  
\<%- if !allocations.blank? -%\>  
\<%- allocations.each do |a| -%\>
  - [“\<%= a %\>”, “\<%= a %\>”]  
\<%- end -%\>  
\<%- end -%\>  
bc\_num\_slots: 1  
bc\_num\_hours:  
value: 8  
bc\_queue: “open”  
node\_type:  
widget: select  
label: “Node type”  
help: |
  - **ACI-i** - (_4 cores_) Use an ACI-i node that has GPU GL acceleration, 40 cores,  
and 256GB of RAM. Only available for open account submissions.
  - **ACI-b Standard Core** - (_4 cores_) Use an ACI-b node without GPU GL  
acceleration, 20 available cores, Infiniband interconnect, and 256GB total RAM.  
Available for open account and allocation account submissions.
  - **ACI-b Basic Core** - (_4 cores_) Use an ACI-b node without GPU GL  
acceleration, 20 available cores, and 128GB total RAM.  
Available for open account and allocation account submissions.
  - **ACI-b Himem Core** - (_4 cores_) Use an ACI-b node without GPU GL  
acceleration, 40 available cores, and 1TB total RAM.  
Available for open account and allocation account submissions.  
options:
  - [  
“ACI-i”, “ppn=4:acii:rhel7”,  
data-option-for-open: true,  
data-option-for-bc\_default: false,  
data-option-for-sc\_default: false,  
data-option-for-gc\_default: false,  
data-option-for-hc\_default: false,  
data-option-for-lc\_default: false,  
data-option-for-p100\_default: false,  
data-option-for-k80\_default: false,  
data-option-for-gc\_x1p100\_default: false,  
data-option-for-gc\_x4p100\_default: false  
]
  - [  
“ACI-b Standard Core”, “ppn=4:stmem:rhel7”,  
data-option-for-open: true,  
data-option-for-sc\_default: true,  
data-option-for-bc\_default: false,  
data-option-for-gc\_default: false,  
data-option-for-hc\_default: false,  
data-option-for-lc\_default: false,  
data-option-for-p100\_default: false,  
data-option-for-k80\_default: false,  
data-option-for-gc\_x1p100\_default: false,  
data-option-for-gc\_x4p100\_default: false  
]
  - [  
“ACI-b Basic Core”, “ppn=4:basic:rhel7”,  
data-option-for-open: true,  
data-option-for-bc\_default: true,  
data-option-for-sc\_default: false,  
data-option-for-gc\_default: false,  
data-option-for-hc\_default: false,  
data-option-for-lc\_default: false,  
data-option-for-p100\_default: false,  
data-option-for-k80\_default: false,  
data-option-for-gc\_x1p100\_default: false,  
data-option-for-gc\_x4p100\_default: false  
]
  - [  
“ACI-b GPU Core (NO GL Acceleration)”, “ppn=4:gpu:rhel7:gpus=1”,  
data-option-for-open: true,  
data-option-for-gc\_default: true,  
data-option-for-p100\_default: true,  
data-option-for-k80\_default: true,  
data-option-for-gc\_x1p100\_default: true,  
data-option-for-gc\_x4p100\_default: true,  
data-option-for-bc\_default: false,  
data-option-for-sc\_default: false,  
data-option-for-lc\_default: false,  
data-option-for-hc\_default: false  
]
  - [  
“ACI-b Himem Core”, “ppn=4:himem:rhel7”,  
data-option-for-open: true,  
data-option-for-hc\_default: true,  
data-option-for-bc\_default: false,  
data-option-for-sc\_default: false,  
data-option-for-gc\_default: false,  
data-option-for-lc\_default: false,  
data-option-for-p100\_default: false,  
data-option-for-k80\_default: false,  
data-option-for-gc\_x1p100\_default: false,  
data-option-for-gc\_x4p100\_default: false  
]
  - [  
“ACI-b Legacy Core”, “ppn=4:legacy:rhel7”,  
data-option-for-open: true,  
data-option-for-hc\_default: false,  
data-option-for-bc\_default: false,  
data-option-for-sc\_default: false,  
data-option-for-gc\_default: false,  
data-option-for-lc\_default: true,  
data-option-for-p100\_default: false,  
data-option-for-k80\_default: false,  
data-option-for-gc\_x1p100\_default: false,  
data-option-for-gc\_x4p100\_default: false  
]  
#acii\_reservation: “\<%= acii\_res %\>”

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [June 24, 2021, 4:00pm UTC](https://discourse.openondemand.org/t/modified-apps-in-etc-ood-config-apps-not-showing-up-as-pinned/1528/4 "2021-06-24T16:00:22Z")

</div>

Hi sorry for the delay and not recognizing this earlier. For a sub app like this you need to supply `sys/bc_desktop/the_name`. So we have owens and pitzer desktops we’d need to supply.

```auto
pinned_apps:
  - 'sys/bc_deskop/owens'
  - 'sys/bc_desktop/pitzer'

```

Thanks for the heads up and sorry about the issue. There’s a lack of documentation for this on our side.

---

<div class="post-metadata">

**Author:** ![westburg.2](https://avatars.discourse-cdn.com/v4/letter/w/0ea827/32.png) [@westburg.2](https://discourse.openondemand.org/u/westburg.2)\
**Post date:** [May 26, 2022, 3:42pm UTC](https://discourse.openondemand.org/t/modified-apps-in-etc-ood-config-apps-not-showing-up-as-pinned/1528/5 "2022-05-26T15:42:53Z")

</div>


