Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added list-zones to output available lx zones data #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

added list-zones to output available lx zones data #16

wants to merge 1 commit into from

Conversation

cneira
Copy link

@cneira cneira commented Jun 6, 2018

Added list-zones option that outputs Illumos::Zones data filtered by brand lx.

neirac@krondor:~/dev/lxadm$ ./bin/lxadm list-zones
[
   {
      "ip-type" : "excl",
      "zonepath" : "/zones/centos73",
      "zoneid" : "1",
      "zonename" : "nwnee",
      "state" : "running",
      "uuid" : "ff9b467a-cb80-4611-834a-c438830806e2",
      "brand" : "lx"
   },
   {
      "zoneid" : "69",
      "zonename" : "quakelive",
      "zonepath" : "/zones/quakelive",
      "ip-type" : "excl",
      "brand" : "lx",
      "uuid" : "36e949e2-25dd-c894-ab57-bd7856a65d7f",
      "state" : "running"
   },
   {
      "state" : "installed",
      "brand" : "lx",
      "uuid" : "2e4de84a-368b-e040-e459-820fbffd1dad",
      "ip-type" : "excl",
      "zonepath" : "/zones/pocketmine",
      "zoneid" : "-",
      "zonename" : "pocketmine"
   },
   {
      "state" : "installed",
      "uuid" : "333aeec7-a65b-6bee-a3e4-9eab8dfab4dc",
      "brand" : "lx",
      "ip-type" : "excl",
      "zonename" : "debian9-test",
      "zoneid" : "-",
      "zonepath" : "/zones/debian9"
   },
   {
      "ip-type" : "excl",
      "zonepath" : "/zones/nwn169",
      "zoneid" : "-",
      "zonename" : "nwn169",
      "state" : "installed",
      "uuid" : "a38032ed-6f72-6c10-e603-9ef0e52bd351",
      "brand" : "lx"
   }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant