Tinkerbell.Sandbox/deploy/terraform/hardware_data.tpl
Gianluca Arbezzano bd63279e59 this is the right version of the terraform code
I copied a wrong version of the terraform code.

Sorry

Signed-off-by: Gianluca Arbezzano <gianarb92@gmail.com>
2020-09-10 16:42:00 +02:00

33 lines
620 B
Smarty

{
"id": "${id}",
"metadata": {
"facility": {
"facility_code": "${facility_code}",
"plan_slug": "${plan_slug}",
"plan_version_slug": ""
},
"instance": {},
"state": ""
},
"network": {
"interfaces": [
{
"dhcp": {
"arch": "x86_64",
"ip": {
"address": "${address}",
"gateway": "192.168.1.1",
"netmask": "255.255.255.248"
},
"mac": "${mac}",
"uefi": false
},
"netboot": {
"allow_pxe": true,
"allow_workflow": true
}
}
]
}
}