joyent/smartos-live — pull request #93 by alram (2012-06-27 18:02:28+00:00)
Title: vmadm create-json

(basic) zonecfg like tool to create json files used by vmadm create

Tested on joyent_20120614T184600Z

The tool is not complete yet and may have bugs.
I just figured that it was a good starting point to have feedbacks and know if this could be integrated in the future.

Example: http://pastebin.com/raw.php?i=ixyPPft5

Also, completion:
```
zonedef> set brand=kvm
zonedef> add disk
zonedef:disk>
info cancel end set block_size=
set boot= set compression= set image_name= set image_size=
set image_uuid= set size= set media= set model=
set path= set zpool=
```