From da0a8aff88e67fce7603b03a220b77b451349e7d Mon Sep 17 00:00:00 2001 From: Brad Morgan Date: Thu, 16 Jun 2016 13:30:34 -0700 Subject: [PATCH] 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 --- imagebuild/coreos/oem/cloud-config.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/imagebuild/coreos/oem/cloud-config.yml b/imagebuild/coreos/oem/cloud-config.yml index 6c9b5ee93..f4f85f14d 100644 --- a/imagebuild/coreos/oem/cloud-config.yml +++ b/imagebuild/coreos/oem/cloud-config.yml @@ -35,6 +35,9 @@ coreos: - name: etcd.service mask: true + - name: usr-share-oem.mount + mask: true + - name: ironic-python-agent-embed-ssh-keys.service command: start content: |