Civo instance public Ip
saiyam1814 opened this issue · comments
create an instance
civo instance create --hostname=civo-course --size g3.small --diskimage=ubuntu-focal --initialuser=demo-user
civo instance ls
+--------------------------------------+-------------+--------+----------+-----------+------+----------+-----------------+-------------+--------+
| ID | Hostname | Region | Size | Cpu Cores | Ram | SSD disk | Public IP | Private IP | Status |
+--------------------------------------+-------------+--------+----------+-----------+------+----------+-----------------+-------------+--------+
| a47ced99-cb86-4197-adb8-320dda64d78b | civo-course | PHX1 | g3.small | 1 | 2048 | 25 | 131.153.227.124 | 192.168.1.3 | ACTIVE |
+--------------------------------------+-------------+--------+----------+-----------+------+----------+-----------------+-------------+--------+
but getting public IP gives error as mentioned in the cli repo
civo instance public-ip civo-course -o custom -f public_ip
Error: requires at least 2 arg(s), only received 1