From 4ceb7e541dd164bebb406c60ea46870edac40b65 Mon Sep 17 00:00:00 2001 From: Alex Polvi Date: Wed, 19 Mar 2014 03:31:50 +0000 Subject: [PATCH] use ConditionPathIsMountPoint --- .../coreos-overlay/coreos-base/oem-ami/files/cloud-config.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/files/cloud-config.yml b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/files/cloud-config.yml index 96773f935e..b90b719cb6 100644 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/files/cloud-config.yml +++ b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/files/cloud-config.yml @@ -32,8 +32,7 @@ coreos: Description=Legacy c10n support from EC2 metadata Requires=ec2-cloudinit.service After=ec2-cloudinit.service - # hack: This only runs on the generic images - ConditionPathExists=/media/state/overlays/home + ConditionPathIsMountPoint=!/usr [Service] Type=oneshot