ezgh files mount-targets update <mount-target> [flags]Change a mount target. Only what’s given changes. --allowed-source-cidr replaces the sources mounts may come from; --tag replaces all its tags and --clear-tags removes them.
Part of ezgh files mount-targets.
Examples
ezgh files mount-targets update fmt_7t3n1v8c2wzd --allowed-source-cidr 10.0.1.0/24Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--allowed-source-cidr |
string, repeatable | an IPv4 CIDR mounts may come from; repeat for more, at most 50; replaces them all | |
--clear-tags |
boolean | remove its tags | |
--name |
string | a new name | |
--tag |
string, repeatable | a tag, key=value; repeat for more |
This command also takes the global flags.