---
name: "cdist-type__install_generate_fstab"
section: "7"
platform: "linux"
package: "cdist"
version: "7.0.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/cdist-type__install_generate_fstab"
---

# cdist-type\_\_install\_generate\_fstab(7)

generate /etc/fstab during installation

## NAME

cdist-type\_\_install\_generate\_fstab - generate /etc/fstab during installation

## DESCRIPTION

Generates a /etc/fstab file from information retrieved from \_\_install\_mount definitions.

## REQUIRED PARAMETERS

- **destination**

  The path where to store the generated fstab file. Note that this is a path on the server, where cdist is running, not the target host.

## OPTIONAL PARAMETERS

None

## BOOLEAN PARAMETERS

- **uuid**

  use UUID instead of device in fstab

## EXAMPLES

```
__install_generate_fstab --destination /path/where/you/want/fstab
__install_generate_fstab --uuid --destination /path/where/you/want/fstab
```

## AUTHORS

Steven Armstrong \<*steven-cdist--@--armstrong.cc*\>

## COPYING

Copyright (C) 2012 Steven Armstrong. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

## COPYRIGHT

ungleich GmbH 2021
