Skip to content

Commit a160c2d

Browse files
committed
docs: document kernel and initrd in templates/default.yaml
Signed-off-by: Toheeb Ogunade <ogunadetoheeb4@gmail.com>
1 parent f4ff82f commit a160c2d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

templates/default.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,20 @@ vmType: null
1515
# 🟢 Builtin default: "default" (corresponds to the host architecture)
1616
arch: null
1717

18+
1819
# OpenStack-compatible disk image.
1920
# Each image has a `location` URL for the disk image, an `arch` setting, and an optional `digest`.
21+
# To specify a custom kernel and initial RAM disk, nest `kernel` and `initrd` under an image entry:
22+
# - location: "https://example.com/image.qcow2"
23+
# # kernel specifies a custom kernel to boot.
24+
# kernel:
25+
# location: "https://example.com/vmlinuz"
26+
# digest: "sha256:..."
27+
# cmdline: "console=ttyS0 root=/dev/sda1"
28+
# # initrd specifies a custom initial RAM disk.
29+
# initrd:
30+
# location: "https://example.com/initrd.img"
31+
# digest: "sha256:..."
2032
# 🟢 Builtin default: none (must be specified)
2133
# 🔵 This file: Ubuntu images (inherited via the `base` mechanism later in this file)
2234
images: []

0 commit comments

Comments
 (0)