Files
warewulf/overlays/mkfs/internal
kosmolito 378abfc373 fix(mkfs): correctly handle already-formatted disks and conditional overwrite
- Updated `already_formatted()` to use `blkid` plus safe read-only mount for accurate filesystem detection.
- Added conditional `-f` flag to `mkfs` only when `overwrite: true` is set.
- Removed `continue` statements from the shell script to prevent runtime errors.
- Updated Go overlay snapshot tests to reflect new template rendering.
- Ensures disks with leftover signatures but no valid filesystem are properly reformatted during node provisioning.
2025-12-17 14:37:35 -07:00
..