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

Overwriting existing files: example in the documentation. #499

Open
mjordan79 opened this issue Nov 9, 2023 · 0 comments
Open

Overwriting existing files: example in the documentation. #499

mjordan79 opened this issue Nov 9, 2023 · 0 comments

Comments

@mjordan79
Copy link

I think that using the append directive is not immediate, so a small example in the documentation should be provided

Example documentation:
https://coreos.github.io/butane/examples/

Snippet to explain:
variant: fcos
version: 1.5.0
storage:
files:
- path: /etc/sudoers
overwrite: false
append:
- inline: |
core ALL=(ALL) NOPASSWD: /usr/bin/docker

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

No branches or pull requests

1 participant