@ornncompute/cli 1.0.151 → 1.0.153
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/package.json +1 -1
- package/src/vm-commands.mjs +1 -0
package/README.md
CHANGED
|
@@ -73,7 +73,8 @@ use the same context. Reserve browsing and purchasing still require approval.
|
|
|
73
73
|
|
|
74
74
|
Node and VM requests use `@ornn/api-client/orchestrator`; CLI selection, polling,
|
|
75
75
|
and SSH remain here. VM readiness comes from the guest resource, separately from
|
|
76
|
-
physical-host readiness.
|
|
76
|
+
physical-host readiness. Bare Metal uses the node's SSH endpoint and waits
|
|
77
|
+
when the service reports that the endpoint is unavailable. See [machine behavior](../../docs/cli.md#customer-workflows).
|
|
77
78
|
|
|
78
79
|
Advanced customer resources are registered under one noun and one verb:
|
|
79
80
|
|
package/package.json
CHANGED
package/src/vm-commands.mjs
CHANGED
|
@@ -180,6 +180,7 @@ function machineUsername(value) {
|
|
|
180
180
|
|
|
181
181
|
function machineHost(value) {
|
|
182
182
|
const machine = record(value);
|
|
183
|
+
if (machine.ssh_endpoint === null) return null;
|
|
183
184
|
const endpoint = sshText(machine.ssh_endpoint);
|
|
184
185
|
if (endpoint) {
|
|
185
186
|
const at = endpoint.indexOf("@");
|