NAME
ls — list your
VMs
SYNOPSIS
ssh |
chroot.dev ls
[--json] |
DESCRIPTION
ls lists your VMs: name, state, private
IPv4, public IPv6, cpus, memory, data disk and image. The public IPv6
address is reachable from the internet; ‘-’ where the VM has
none. On a terminal the public addresses come in a table of their own, after
the VMs. See chroot.dev(7).
EXAMPLES
Names only:
$ ssh chroot.dev ls --json | jq -r '.vms[].vm_name'
Name and public address:
$ ssh chroot.dev ls --json | jq -r '.vms[] | [.vm_name, .ip6 // "-"] | @tsv'