> ## Documentation Index
> Fetch the complete documentation index at: https://docs.siderolabs.com/llms.txt
> Use this file to discover all available pages before exploring further.

> EtcFileConfig configures a user-managed file under /etc.

# EtcFileConfig

```yaml theme={null}
apiVersion: v1alpha1
kind: EtcFileConfig
name: nfsmount.conf # Path of the file relative to `/etc`.
mode: 0o644 # The file's permissions in octal.
contents: | # The contents of the file.
    [NFSMount_Global_Options]
```

<table>
  <thead>
    <tr>
      <th>Field</th>
      <th>Type</th>
      <th>Description</th>
      <th>Value(s)</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>`name`</td>
      <td>string</td>
      <td>Path of the file relative to `/etc`.</td>

      <td />
    </tr>

    <tr>
      <td>`mode`</td>
      <td>EtcFileMode</td>
      <td>The file's permissions in octal.</td>

      <td />
    </tr>

    <tr>
      <td>`contents`</td>
      <td>string</td>
      <td>The contents of the file.</td>

      <td />
    </tr>
  </tbody>
</table>
