Skip to content

Commit b1471ea

Browse files
morgabrajayofdoom
authored andcommitted
Fix unwanted unmounting of /usr/share/oem
Creating specific partitions will cause a udev event to trigger, causing systemd to attempt to mount the new partition at /usr/share/oem. This mount will not succeed, but will unmount /usr/share/oem, causing ironic-python-agent to die. Masking this unit disables this behavior. Change-Id: Ifea3482f36a354cbf988e6f6003f4284c5c2a21d Closes-bug: #1592163 (cherry picked from commit da0a8af)
1 parent f47876a commit b1471ea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

imagebuild/coreos/oem/cloud-config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ coreos:
1717
- name: media-configvirtfs.mount
1818
mask: true
1919

20+
- name: usr-share-oem.mount
21+
mask: true
22+
2023
- name: ironic-python-agent-embed-ssh-keys.service
2124
command: start
2225
content: |

0 commit comments

Comments
 (0)