1
0
mirror of https://github.com/rancher/os.git synced 2025-08-19 07:19:05 +00:00
os/config/cloudinit/units/media-configdrive.mount

14 lines
409 B
SYSTEMD
Raw Normal View History

[Unit]
Wants=user-configdrive.service
Before=user-configdrive.service
# Only mount config drive block devices automatically in virtual machines
# or any host that has it explicitly enabled and not explicitly disabled.
ConditionVirtualization=|vm
ConditionKernelCommandLine=|coreos.configdrive=1
ConditionKernelCommandLine=!coreos.configdrive=0
[Mount]
What=LABEL=config-2
Where=/media/configdrive
Options=ro