From 8727c3cf96401e497cd26673f56a8f04e8087042 Mon Sep 17 00:00:00 2001 From: Pierre Donias Date: Thu, 5 Oct 2023 09:45:50 +0200 Subject: [PATCH] docs(patches): update URLs that need to be accessible from XOA (#7075) --- docs/configuration.md | 4 ++-- packages/xo-server/src/xapi/mixins/patching.mjs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 9834b4f16..712711101 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -94,9 +94,9 @@ uri = 'tcp://db:password@hostname:port' ## Proxy for updates and patches -To check if your hosts are up-to-date, we need to access `http://updates.xensource.com/XenServer/updates.xml`. +To check if your hosts are up-to-date, we need to access `https://updates.ops.xenserver.com/xenserver/updates.xml`. -And to download the patches, we need access to `http://support.citrix.com/supportkc/filedownload?`. +And to download the patches, we need access to `https://fileservice.citrix.com/direct/v2/download/secured/support/article/*/downloads/*.zip`. To do that behind a corporate proxy, just add the `httpProxy` variable to match your current proxy configuration. diff --git a/packages/xo-server/src/xapi/mixins/patching.mjs b/packages/xo-server/src/xapi/mixins/patching.mjs index e3dab9d69..1607c8b66 100644 --- a/packages/xo-server/src/xapi/mixins/patching.mjs +++ b/packages/xo-server/src/xapi/mixins/patching.mjs @@ -59,7 +59,7 @@ const listMissingPatches = debounceWithKey(_listMissingPatches, LISTING_DEBOUNCE // ============================================================================= export default { - // raw { uuid: patch } map translated from updates.xensource.com/XenServer/updates.xml + // raw { uuid: patch } map translated from updates.ops.xenserver.com/xenserver/updates.xml // FIXME: should be static @decorateWith(debounceWithKey, 24 * 60 * 60 * 1000, function () { return this