Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for suffix after mount point for autofs #80

Merged
merged 6 commits into from
Apr 4, 2018
Merged

Add support for suffix after mount point for autofs #80

merged 6 commits into from
Apr 4, 2018

Conversation

3x14
Copy link
Contributor

@3x14 3x14 commented Mar 23, 2018

This adds the ability to modify the suffix after the mount point.

This introduces two new options in the configuration: suffix and prefix
prefix: A regular expression to capture a prefix, or mount point.
suffix: A regular expression to modify the prefix.

If you have :ufs-33-a.i
This allows you to easily change the suffix: ufs-33-a.ib

The config file for this operation would look something like this:
[suffix]
suffix_base = ""
suffix = ""

I used ConfigParser inside files.py, but I am guessing that will need to be changed.

@jaqx0r
Copy link
Contributor

jaqx0r commented Apr 4, 2018

Thanks for the contribution!

@jaqx0r jaqx0r merged commit 0ff9d5e into google:master Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants