Created
August 29, 2019 17:21
-
-
Save donnydavis/4bcc5c3e2054b3c8d379ef2ff2c233f3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KERNEL!="sr[0-9]", GOTO="no_config_drive_end" | |
# Import FS info | |
IMPORT{program}="/sbin/blkid -o udev -p %N" | |
# Get a label if present, otherwise specify one | |
ENV{ID_FS_LABEL}!="", ENV{fs_name}="%E{ID_FS_LABEL}" | |
# Global mount options | |
# Filesystem-specific mount options | |
ACTION=="add", ENV{fs_name}=="config-2|CONFIG-2", ENV{ID_FS_TYPE}=="iso9660|udf|vfat", RUN+="/usr/bin/ucd --user-data-once" | |
# Exit | |
LABEL="no_config_drive_end" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment