canasta host remove
From canasta
canasta host remove
Remove a host entry from the persistent hosts.yml
Synopsis
Remove a saved host definition from $CANASTA_CONFIG_DIR/hosts.yml. After removal, the short name can no longer be used with --host.
Removing a host from hosts.yml does not affect instances already registered on that host; they remain in the registry and continue to be targeted by their original SSH details.
canasta host remove [flags]
Examples
canasta host remove --name prod1
Flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--name |
-n |
Short name of the host to remove | ✓ | Both |
Global flags
| Flag | Shorthand | Description | Default | Required | Orchestrator |
|---|---|---|---|---|---|
--help |
-h |
Show help message and exit | Both | ||
--verbose |
-v |
Enable verbose output | Both |