Skip to content

Fix slow package pulls by adding country code to terraform and cloud-init#1716

Merged
palade merged 4 commits intomainfrom
test_PR
Apr 17, 2026
Merged

Fix slow package pulls by adding country code to terraform and cloud-init#1716
palade merged 4 commits intomainfrom
test_PR

Conversation

@palade
Copy link
Copy Markdown
Contributor

@palade palade commented Apr 16, 2026

Description

This PR addresses the slow package installation issue by adding country code to both the terraform template and cloud-init configuration.

This ensures that the Ubuntu package manager uses the appropriate regional mirror instead of the default global mirror, significantly reducing package download times from ~10 minutes back to seconds.

Default to US.

Fixes # (issue)

Any Newly Introduced Dependencies

n/a

How Has This Been Tested?

ci and locally

Checklist:

  • I agree to use the APACHE-2.0 license for my code changes
  • I have not introduced any 3rd party dependency changes
  • I have performed a self-review of my code

@palade palade reopened this Apr 17, 2026
@palade palade changed the title DO NOT MERGE Test PR Add country code to apt Apr 17, 2026
@palade palade changed the title Add country code to apt Fix slow package pulls by adding country code to terraform and cloud-init Apr 17, 2026
@palade palade enabled auto-merge April 17, 2026 10:30
@palade palade added this pull request to the merge queue Apr 17, 2026
Merged via the queue into main with commit 440203b Apr 17, 2026
34 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