Skip to content

Overwriting existing files: example in the documentation. #2270

Closed

Description

@yasminvalim

Created originally in Butane by @mjordan79: coreos/butane#499


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

Activity

  1. added
    butaneIssues originating from the Butane repository.
    on Aug 13, 2026
  2. added a commit that references this issue on Aug 21, 2026
    ae150c6
  3. added a commit that references this issue on Aug 29, 2026
    394711f
  4. added 3 commits that reference this issue on Sep 14, 2026
    49cf8d3
    9d745ef
    be14891
  5. added a commit that references this issue on Sep 22, 2026
    849f76e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    butaneIssues originating from the Butane repository.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions