POST /api/provisioning_templates/1007981701-centos5_3_pxelinux/clone
{
"provisioning_template": {
"name": "MyClone"
}
}
201
{
"id": 1007981705,
"name": "MyClone",
"template": "default linux~label linux~kernel <%= @kernel %>~append initrd=<%= @initrd %> ks=<%= foreman_url(\"kickstart\")%> ksdevice=bootif network kssendmac",
"snippet": false,
"template_kind_id": 452984334,
"created_at": "2020-11-04T14:05:12.985Z",
"updated_at": "2020-11-04T14:05:12.985Z",
"locked": false,
"default": false,
"vendor": null,
"os_family": null,
"description": null
}
| Param name | Description |
|---|---|
|
location_id optional |
Set the current location context for the request Validations:
|
|
organization_id optional |
Set the current organization context for the request Validations:
|
|
id required |
Validations:
|
|
provisioning_template required |
Validations:
|
|
provisioning_template[name] required |
template name Validations:
|