You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+69-5Lines changed: 69 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,11 +90,17 @@ vz stack down demo --volumes
90
90
### 4. Manage macOS VMs (macOS only)
91
91
92
92
```bash
93
-
# Create a base image from IPSW
94
-
vz vm init --disk-size 64G
93
+
# Create a pinned base image from the stable channel
94
+
vz vm init --base stable
95
95
96
-
# Provision account + guest agent (one-time per image)
97
-
sudo vz vm provision --image ~/.vz/images/base.img
96
+
# Provision account + guest agent after fingerprint verification (system mode is default)
97
+
sudo vz vm provision --image ~/.vz/images/base.img --base-id stable
98
+
99
+
# No-local-sudo local path (opt-in runtime policy)
100
+
vz vm provision --image ~/.vz/images/base.img --base-id stable --agent-mode user
101
+
102
+
# Verify a local image against the stable channel pin
103
+
vz vm base verify --image ~/.vz/images/base.img --base-id stable
98
104
99
105
# Start headless VM
100
106
vz vm run --image ~/.vz/images/base.img --name dev --headless &
@@ -109,6 +115,64 @@ vz vm save dev --stop
109
115
vz vm run --image ~/.vz/images/base.img --name dev --restore ~/.vz/state/dev.vzsave --headless &
110
116
```
111
117
118
+
### 5. Pinned-base automation policy (macOS VM flows)
119
+
120
+
-`vz vm init --base <selector>`, `vz vm provision --base-id <selector>`, and `vz vm base verify --base-id <selector>` accept immutable base IDs plus channel aliases (`stable`, `previous`).
121
+
- Base descriptors include support lifecycle metadata (`active` or `retired`); selecting a retired or unknown base fails with explicit fallback guidance.
122
+
- Retirement guidance always includes `vz vm init --base stable` and, when available, a concrete replacement selector/base.
123
+
-`vz vm patch verify` and `vz vm patch apply` reject bundles targeting retired or unsupported base descriptors.
0 commit comments