90-configdrive.rules 526 B

123456789101112
  1. # Automatically trigger configdrive mounting.
  2. ACTION!="add|change", GOTO="coreos_configdrive_end"
  3. # A normal config drive. Block device formatted with iso9660 or fat
  4. SUBSYSTEM=="block", ENV{ID_FS_TYPE}=="iso9660|udf|vfat", ENV{ID_FS_LABEL}=="config-2", TAG+="systemd", ENV{SYSTEMD_WANTS}+="media-configdrive.mount"
  5. # Addtionally support virtfs from QEMU
  6. SUBSYSTEM=="virtio", DRIVER=="9pnet_virtio", ATTR{mount_tag}=="config-2", TAG+="systemd", ENV{SYSTEMD_WANTS}+="media-configvirtfs.mount"
  7. LABEL="coreos_configdrive_end"