Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: Remove redundant flags #445

Merged
merged 4 commits into from
Oct 23, 2024

Conversation

roosterfish
Copy link
Contributor

@roosterfish roosterfish commented Oct 22, 2024

Whilst the --auto features was present having --address, --wipe and --encrypt made sense to influence what is happening in the auto mode.

Now after the auto mode is gone those flags have to be removed too.
This is a leftover.

Automating those settings can be done by using the preseed support.

The --wipe, --encrypt and --address flags made sense together with --auto.
As the --auto option got removed those flags have to be removed too.

Signed-off-by: Julian Pelizäus <[email protected]>
The --wipe flag made sense together with --auto.
As the --auto option got removed this flag has to be removed too.

Signed-off-by: Julian Pelizäus <[email protected]>
@roosterfish roosterfish marked this pull request as ready for review October 22, 2024 16:00
Comment on lines -160 to -161
wipeAllDisks: c.flagWipeAllDisks,
encryptAllDisks: c.flagEncryptAllDisks,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These fields are no longer assigned on the struct, so I think we can remove them.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, fixed.

@masnax masnax merged commit 740041a into canonical:main Oct 23, 2024
15 of 16 checks passed
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.

2 participants