Skip to content

feat: validate numeric inputs before CRC configuration#99

Merged
sebrandon1 merged 1 commit into
mainfrom
feat/validate-numeric-inputs
Jul 15, 2026
Merged

feat: validate numeric inputs before CRC configuration#99
sebrandon1 merged 1 commit into
mainfrom
feat/validate-numeric-inputs

Conversation

@sebrandon1

Copy link
Copy Markdown
Contributor

Summary

  • Adds validate_numeric function to configure-crc.sh that checks inputs are positive integers meeting CRC minimums
  • Validates crcCpu (min 4), crcMemory (min 10752), crcDiskSize (min 31) before any crc config set calls
  • Rejects invalid values with clear error messages instead of letting CRC fail with cryptic errors

Closes #71

Add early validation for crcCpu, crcMemory, and crcDiskSize to
reject non-numeric and below-minimum values with clear error
messages instead of letting CRC fail with cryptic errors.

Closes #71
@sebrandon1
sebrandon1 merged commit ed6c8b6 into main Jul 15, 2026
15 of 17 checks passed
@sebrandon1
sebrandon1 deleted the feat/validate-numeric-inputs branch July 15, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validate numeric inputs (crcMemory, crcCpu, crcDiskSize)

1 participant