Skip to content

Instantly share code, notes, and snippets.

@socketwiz
Created October 20, 2013 19:35
Show Gist options
  • Save socketwiz/7074179 to your computer and use it in GitHub Desktop.
Save socketwiz/7074179 to your computer and use it in GitHub Desktop.
Template for creating SmartOS zones.
{
"brand": "joyent",
"zfs_io_priority": 30,
"quota": 20,
"image_uuid": "dac2ad6e-2aa5-11e3-885f-8fd408fc6a82",
"max_physical_memory": 4096,
"alias": "<name>",
"hostname": "<name>",
"dns_domain": "<domain>",
"resolvers": ["<ip>"],
"nics": [{
"nic_tag": "admin",
"ip": "<ip>",
"netmask": "<net mask>",
"gateway": "<ip>",
"primary": true
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment