Skip to content

Instantly share code, notes, and snippets.

@jessereynolds
Created November 25, 2013 10:44
Show Gist options
  • Save jessereynolds/7639502 to your computer and use it in GitHub Desktop.
Save jessereynolds/7639502 to your computer and use it in GitHub Desktop.
smartos zone definition - resolvers section not working (comes up using google's nameservers)
{
"dataset_uuid": "17c98640-1fdb-11e3-bf51-3708ce78e75a",
"autoboot": true,
"alias": "ns",
"hostname": "ns",
"dns_domain": "example.com",
"max_physical_memory": 512,
"max_swap": 1024,
"quota": 20,
"cpu_cap": 200,
"cpu_shares": 100,
"max_lwps": 2000,
"nics": [
{
"nic_tag": "admin",
"ip": "172.30.0.2",
"netmask": "255.255.255.0",
"gateway": "172.30.0.1",
"primary": true,
"allow_ip_spoofing": true
}
],
"resolvers": [
"119.252.25.11",
"202.12.71.194"
],
"customer_metadata": {
"root_pw": "xyz",
"admin_pw": "xyz",
"root_authorized_keys": "xyz",
"user-script" : "/usr/sbin/mdata-get root_authorized_keys > ~root/.ssh/authorized_keys ; /usr/sbin/mdata-get root_authorized_keys > ~admin/.ssh/authorized_keys"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment