Today I'm trying to create a VM using smartos.
I built this config file (called router.json
):
{
"alias": "router",
"hostname": "router",
"brand": "joyent",
"max_physical_memory": 256,
"image_uuid": "088b97b0-e1a1-11e5-b895-9baa2086eb33",
"quota": 10,
"nics": [
{
"nic_tag": "admin",
"ip": "dhcp",
"allow_ip_spoofing": "1",
"primary": "1"
},
{
"nic_tag": "stub0",
"ip": "10.0.0.1",
"netmask": "255.255.255.0",
"allow_ip_spoofing": "1",
"gateway": "10.0.0.1"
}
]
The ran this command:
# vmadm validate create -f router.json
VALID 'create' payload for joyent brand VMs.
But I still have an error when I try to create the VM:
# vmadm create -f router.json
provisioning dataset 088b97b0-e1a1-11e5-b895-9baa2086eb33 with brand joyent is not supported
Anyone have an idea? Thanks a lot.