wer refresh
Refresh a workstation's state from the cloud provider.
Usage
wer refresh <type> <name> [name ...] [flags] Description
The refresh command tells the controller to query the provider for the actual
VM state and update the workstation phase accordingly. This is useful when the
infrastructure may have changed outside of werkr, after manual changes to the VM, or to
recover from stuck states.
Arguments
| Argument | Description |
|---|---|
type | Resource type - must be workstation (or ws) |
name | One or more workstation names to refresh |
Flags
| Flag | Description |
|---|---|
--wait | Wait for the refresh to complete and state to stabilize |
--wait-timeout | Maximum time to wait (e.g., 30s, 5m). 0 means no timeout |
Examples
# Refresh a workstation
wer refresh workstation my-vm
# Using the short alias
wer refresh ws my-vm
# Refresh multiple workstations
wer refresh ws my-vm1 my-vm2 my-vm3
# Refresh and wait until state is determined
wer refresh workstation my-vm --wait