use ConditionPathIsMountPoint

This commit is contained in:
Alex Polvi 2014-03-19 03:31:50 +00:00
parent 5174415149
commit 4ceb7e541d

View File

@ -32,8 +32,7 @@ coreos:
Description=Legacy c10n support from EC2 metadata Description=Legacy c10n support from EC2 metadata
Requires=ec2-cloudinit.service Requires=ec2-cloudinit.service
After=ec2-cloudinit.service After=ec2-cloudinit.service
# hack: This only runs on the generic images ConditionPathIsMountPoint=!/usr
ConditionPathExists=/media/state/overlays/home
[Service] [Service]
Type=oneshot Type=oneshot