Skip to content

Commit df58659

Browse files
committed
fix: use .part extension (Talos CRI reads .part not .toml)
1 parent 2186150 commit df58659

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

File renamed without changes.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ COPY devmapper-pool.yaml /rootfs/usr/local/etc/containers/devmapper-pool.yaml
1515
# BEFORE CRI initializes devmapper plugin (~2-3s), devmapper loads on first boot.
1616
# If CRI starts first: devmapper plugin fails gracefully (disabled), runc works.
1717
# Extension also writes config to overlay dir as fallback for next CRI restart.
18-
COPY 20-devmapper.toml /rootfs/usr/local/etc/cri/conf.d/20-devmapper.toml
18+
COPY 20-devmapper.part /rootfs/usr/local/etc/cri/conf.d/20-devmapper.part
1919

2020
# Extension service: creates thin pool at boot
2121
COPY --from=tools /bin/busybox.static /rootfs/usr/local/lib/containers/devmapper-pool/bin/busybox

devmapper-pool-init

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ META_FILE="${META_DIR}/meta"
1515
# Writing to the overlay upper dir makes files appear in /etc/cri/conf.d/
1616
# when CRI reads it. This is under /var (mounted into this container).
1717
CRI_CONF_DIR="/var/system/overlays/etc-cri-diff/conf.d"
18-
CRI_CONF="${CRI_CONF_DIR}/20-devmapper.toml"
18+
CRI_CONF="${CRI_CONF_DIR}/20-devmapper.part"
1919
HOST_PROC="/host-proc"
2020
# Marker file to prevent reboot loop — written after first successful reboot-triggering run
2121
REBOOT_MARKER="/var/lib/devmapper/.rebooted"

0 commit comments

Comments
 (0)