media-configvirtfs.mount 646 B

12345678910111213141516171819
  1. [Unit]
  2. Wants=user-configvirtfs.service
  3. Before=user-configvirtfs.service
  4. # Only mount config drive block devices automatically in virtual machines
  5. # or any host that has it explicitly enabled and not explicitly disabled.
  6. ConditionVirtualization=|vm
  7. ConditionKernelCommandLine=|coreos.configdrive=1
  8. ConditionKernelCommandLine=!coreos.configdrive=0
  9. # Support old style setup for now
  10. [email protected] [email protected]
  11. [email protected] [email protected]
  12. [Mount]
  13. What=config-2
  14. Where=/media/configvirtfs
  15. Options=ro,trans=virtio,version=9p2000.L
  16. Type=9p