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

[enhancement]: Allow configuring pin-priorities #5862

Open
adam-vest opened this issue Nov 8, 2024 · 1 comment
Open

[enhancement]: Allow configuring pin-priorities #5862

adam-vest opened this issue Nov 8, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@adam-vest
Copy link

Enhancement

Hi there!

At present, I don't believe there is a built-in way to configure pin priorities in /etc/apt/preferences.d via cloud-init. This can be accomplished currently by just write_files, but it might be a nice-to-have feature to support this natively. Maybe just as a key under apt, like:

apt:
  preferences:
    my-pref:
      Package: *
      Pin: release o=SomeOrigin
      Pin-Priority: 1001

Thank you!

@adam-vest adam-vest added enhancement New feature or request new An issue that still needs triage labels Nov 8, 2024
@a-dubs
Copy link
Collaborator

a-dubs commented Dec 4, 2024

Hello, @adam-vest. Thank you for raising this feature request!

@a-dubs a-dubs removed the new An issue that still needs triage label Dec 4, 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
Projects
None yet
Development

No branches or pull requests

2 participants