-
Notifications
You must be signed in to change notification settings - Fork 248
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 a way to delete inodes #739
Comments
One approach here (after discussing with @bgilbert ) would be to create a separate array of nodes to remove inodes. What other folks think about it? |
Just offering up a use case for this feature. I'm attempting to disable |
@jdmarble For that specific case, it's sufficient to replace the symlink with an empty file: variant: fcos
version: 1.0.0
storage:
files:
- path: /etc/resolv.conf
systemd:
units:
- name: systemd-resolved.service
mask: true |
Feature Request
Environment
Any
Desired Feature
Add a way to remove existing files/directories/links.
Other Information
I don't have a use case in mind, and it's not clear that removal of a file shipped with the OS is a common operation. But it might be good to include this for completeness. The main use might be for overriding a parent config.
It doesn't really make sense to add a
shouldExist
property to each of files/directories/links, since deleting an inode shouldn't require knowing its type. But adding a list of whiteouts/things-to-delete also seems awkward.I don't think this functionality is critical for 3.0.
The text was updated successfully, but these errors were encountered: