Skip to content

Adding proxy configuration in the updates documentation #327

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

Merged
merged 2 commits into from
Mar 29, 2025

Conversation

bleader
Copy link
Contributor

@bleader bleader commented Feb 27, 2025

Adding some explanations about how to configure proxies in order to be able to update when a proxy is needed to reach the repositories.

Before submitting the pull request, you must agree with the following statements by checking both boxes with a 'x'.

  • "I accept that my contribution is placed under the CC BY-SA 2.0 license [1]."
  • "My contribution complies with the Developer Certificate of Origin [2]."

[1] https://creativecommons.org/licenses/by-sa/2.0/
[2] https://docs.xcp-ng.org/project/contributing/#developer-certificate-of-origin-dco

@bleader bleader force-pushed the dml-yum-proxy branch 2 times, most recently from afc3cc8 to c916ab2 Compare March 13, 2025 12:19
@stormi stormi requested a review from thomas-dkmt March 26, 2025 15:12
@@ -30,6 +30,27 @@ If your version is lower than `8.2`, it will not receive updates anymore. To kee

Your dom0 system must either have access to the internet, or to a local mirror. In the second case, make sure to update the `baseurl` values in `/etc/yum.repos.d/xcp-ng.repo` to make them point at the local mirror, and keep the mirror regularly synced.

#### Proxy configuration

If your hosts need a proxy to access the repositories, there are a few ways to set it up depending on what you need:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
If your hosts need a proxy to access the repositories, there are a few ways to set it up depending on what you need:
If your hosts require a proxy to access repositories, you have several options depending on your needs:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

- Set `proxy=<proxy_url>` in the `[main]` section of `/etc/yum.conf`

For specific repositories:
- Set `proxy=<proxy_url>` in the repository section of your choice in files present in `/etc/yum.repos.d`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
- Set `proxy=<proxy_url>` in the repository section of your choice in files present in `/etc/yum.repos.d`
- Set `proxy=<proxy_url>` in the relevant repository section within files located in `/etc/yum.repos.d`.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

```

:::warning
These changes will be kept alongside standard updates, but will be lost in case of an upgrade to a newer major version.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
These changes will be kept alongside standard updates, but will be lost in case of an upgrade to a newer major version.
These changes will remain intact through standard updates, but they will be lost if you upgrade to a new major version.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@@ -4,7 +4,7 @@ sidebar_position: 9

# Kernel module policy

Our policity about kernel modules.
Our policy about kernel modules.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
Our policy about kernel modules.
Our policy regarding kernel modules.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@bleader bleader merged commit 36ecd85 into master Mar 29, 2025
1 check passed
@bleader bleader deleted the dml-yum-proxy branch March 29, 2025 09:47
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.

3 participants