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

Refactor modify_sources_list #6

Open
4 tasks
Danilop95 opened this issue Aug 29, 2024 · 0 comments
Open
4 tasks

Refactor modify_sources_list #6

Danilop95 opened this issue Aug 29, 2024 · 0 comments
Labels
enhancement New feature or request fix Tasks or issues related to fixing bugs or correcting errors in the code.

Comments

@Danilop95
Copy link
Owner

Enhance the script by refactoring the modify_sources_list function and adding several new checks to improve flexibility and user experience.

Objectives:

  • Refactor modify_sources_list Function: Update the function to add only missing repositories without overwriting existing entries. This will ensure that the script maintains current configurations and avoids duplicating entries.

  • Implement GPU Usage Check for Proxmox Instances with UI: Add logic to detect if the Proxmox instance has a graphical user interface (UI). If a UI is detected, the script should avoid applying changes, such as blacklisting drivers, that could interfere with GPUs used by the desktop environment.

  • Check for Enterprise Repository Status: Include a check to determine if enterprise repositories are enabled. This is crucial to ensure that the script respects user subscriptions and does not disable enterprise repositories for those who have purchased them.

  • Test and Validate Changes: Perform thorough testing to ensure that the refactored function and new checks work correctly across different Proxmox setups, including both UI and non-UI environments and with or without enterprise repositories.

@Danilop95 Danilop95 added enhancement New feature or request fix Tasks or issues related to fixing bugs or correcting errors in the code. labels Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fix Tasks or issues related to fixing bugs or correcting errors in the code.
Projects
Development

No branches or pull requests

1 participant