---
title: "Creates or updates the boot source."
method: PUT
path: "/boot-source"
---

# Creates or updates the boot source.

`PUT /boot-source`

Creates new boot source if one does not already exist, otherwise updates it. Will fail if update is not possible. Note that the only currently supported boot source is LocalImage.

## Request body

- BootSource — Boot source descriptor.
  - `kernel_image_path` string, required — Host level path to the kernel image used to boot the guest
  - `boot_args` string — Kernel boot arguments

## Response `204`

Boot source created/updated

## Other responses

- `400` — Boot source cannot be created due to bad input
- `default` — Internal server error

---

[API](https://skmtc.dev/solo-io/apis/firecracker-api.md) · [All operations](https://skmtc.dev/solo-io/apis/firecracker-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/solo-io/firecracker-api/revisions/6e4082be4a32/schema)
