Created
June 3, 2015 08:47
-
-
Save scarcry/3de48682afa2407a1536 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"brand": "joyent", | |
"zfs_root_compression": "lz4", | |
"image_uuid": "24648664-e50c-11e4-be23-0349d0a5f3cf", | |
"alias": "agent1", | |
"hostname": "agent1", | |
"max_physical_memory": 512, | |
"dns_domain": "fritz.box", | |
"resolvers": ["192.168.3.209", "194.109.6.66", "194.109.9.99"], | |
"maintain_resolvers": "true", | |
"nics": [ | |
{ | |
"nic_tag": "admin", | |
"mac": "e2:ab:5c:6e:5c:4a", | |
"ip": "192.168.3.216", | |
"netmask": "255.255.255.0", | |
"gateway": "192.168.3.1", | |
"allow_ip_spoofing": "true" | |
} | |
], | |
"filesystems": [ | |
{ | |
"type": "lofs", | |
"source": "/var/setup-v6", | |
"target": "/opt/setup-v6" | |
}, | |
{ | |
"type": "lofs", | |
"source": "/zones/bootstrap", | |
"target": "/var/tmp/bootstrap", | |
"options": "ro" | |
} | |
], | |
"customer_metadata": { | |
"user-script" : "export PUPPETMASTER=puppet1.fritz.box ; export PATH=$PATH:/opt/local/bin ; bash /var/tmp/bootstrap/puppet_agent.sh > /tmp/bootstrap.log 2>&1 &" | |
} | |
} | |
# vmadm validate create -f agent1-base-64-lts-14.4.1.json | |
{ | |
"bad_values": [ | |
"filesystems.*.options" | |
], | |
"bad_properties": [], | |
"missing_properties": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment