mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-17 18:06:59 +02:00
use ConditionPathIsMountPoint
This commit is contained in:
parent
5174415149
commit
4ceb7e541d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user