mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
docs: mount_flags takes a slice of strings (#11583)
The `mount_flags` option takes a slice of strings, not a comma-separated string like the flags passed to `mount(8)`.
This commit is contained in:
@@ -42,7 +42,7 @@ job "docs" {
|
||||
|
||||
mount_options {
|
||||
fs_type = "ext4"
|
||||
mount_flags = "noatime"
|
||||
mount_flags = ["noatime"]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -106,7 +106,7 @@ The following fields are only valid for volumes with `type = "csi"`:
|
||||
necessary.
|
||||
|
||||
- `fs_type`: file system type (ex. `"ext4"`)
|
||||
- `mount_flags`: the flags passed to `mount` (ex. `"ro,noatime"`)
|
||||
- `mount_flags`: the flags passed to `mount` (ex. `["ro", "noatime"]`)
|
||||
|
||||
## Volume Interpolation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user