Skip to content

feat: added input validation in installer#26

Open
Ayush4958 wants to merge 1 commit intoTheCodeVerseHub:mainfrom
Ayush4958:input-validation-installer
Open

feat: added input validation in installer#26
Ayush4958 wants to merge 1 commit intoTheCodeVerseHub:mainfrom
Ayush4958:input-validation-installer

Conversation

@Ayush4958
Copy link
Copy Markdown

Summary

I had added input validation and safety checks in installation process which will prevent user to enter invalid input during installlation.

Changes

  • Validate Disk Selection
  • Prevent an accidental formatting , check if the disk is mounted or not , checks for disk labels (archiso/cvh/codeverse)
  • Safer Hostname & Username Input , re-try had been limited upto 3 attempt at single run

Related Issue

Fix #16

Checklist

  • Scope is focused (no unrelated changes)
  • Docs updated (if needed)
  • Scripts/configs changed were tested

Signed-off-by: Ayush <bhandariayush935@gmail.com>
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.

[FEATURE] Add input validation to installer

1 participant