Open displague opened 4 years ago
It's possible to dervice the SOS name from the cli already, not sure if this counts as a supported option though, its exposing some internal API details.
$ export ID=some_uuid
$ export JS=/tmp/${ID}.json
$ metal device get --output json --id ${ID} | tee ${JS}
$ export FACILITY=(jq .facility.code ${JS})
$ ssh ${ID}@sos.${FACILITY}.platformequinix.com
What problem are you facing?
I have to use the Equinix Metal portal to access the SOS URL to view the device console.
How could the Equinix Metal CLI help solve this problem?
I would like the following options to simplify my workflow:
packet device create --sos
would create the device and immediately SOS into the device so I can watch the provisioning happenpacket device sos --id=$DEVICE_ID
would SOS into an existing device