In NVUE, which command makes a pending change live?
Why A is the answer
nv config apply
nv set only stages a change.
In detail
- nv set only stages a change, and apply makes it live.
- nv set alone changes nothing live.
Use case
An illustrative scenario, not a real incident.
nv set stages a change, and nv config apply makes it live.
See it in different ways
flowchart LR A["nv set"] --> B["Pending revision"] B --> C["nv config diff"] C --> D["nv config apply"] D --> E["Saved by auto save, or nv config save"]
stateDiagram-v2 [*] --> Pending: nv set Pending --> Reviewed: nv config diff Reviewed --> Applied: nv config apply Applied --> Saved: auto save, or nv config save Saved --> [*]
stateDiagram-v2 state "Pending" as s0 state "Applied" as s1 state "Saved to startup" as s2 [*] --> s0 s0 --> s1: nv config apply s1 --> s2: auto save, or nv config save s2 --> [*]
Key point: nv config apply makes changes live.
Why the other options are wrong
- B. nv show
- That shows state.
- C. nv config diff
- That compares configurations.
- D. nv unset
- That removes a setting.

