Răsfoiți Sursa

Archive repo cmd workaround for debian/ubuntu/rhel

ScriptAutomate 4 ani în urmă
părinte
comite
54b47afeb7

+ 9 - 1
doc/topics/installation/debian.rst

@@ -31,7 +31,15 @@ Instructions are at https://repo.saltstack.com/#debian.
 
     If looking to use archives, the same directions from the `Debian install
     directions <https://repo.saltstack.com/#debian>`__ can be used by replacing
-    the URL paths with the appropriate archive location.
+    the URL paths with the appropriate archive location. The
+    repository configuration endpoint also needs to be adjusted to point to the
+    archives. Here is an example ``sed`` command:
+
+    .. code-block:: bash
+
+        # Salt repo configurations are found in the /etc/apt/sources.list.d/saltstack.list directory
+        sed -i 's/repo.saltstack.com/archive.repo.saltstack.com/g' /etc/apt/sources.list.d/saltstack.list
+
 
 .. warning::
     Regular security support for Debian 8 ended on June 30th 2018. As a result,

+ 18 - 2
doc/topics/installation/rhel.rst

@@ -30,7 +30,15 @@ the SaltStack Repository.
 
     If looking to use archives, the same directions from the `RHEL/CentOS
     install directions <https://repo.saltstack.com/#rhel>`__ can be used by
-    replacing the URL paths with the appropriate archive location.
+    replacing the URL paths with the appropriate archive location. The
+    repository configuration endpoint also needs to be adjusted to point to the
+    archives. Here is an example ``sed`` command:
+
+    .. code-block:: bash
+
+        # Salt repo configurations are found in the /etc/yum.repos.d/ directory
+        sed -i 's/repo.saltstack.com/archive.repo.saltstack.com/g' /etc/yum.repos.d/salt*.repo
+
 
     **Amazon Linux**
 
@@ -39,7 +47,15 @@ the SaltStack Repository.
 
     If looking to use archives, the same directions from the `Amazon
     install directions <https://repo.saltstack.com/#amzn>`__ can be used by
-    replacing the URL paths with the appropriate archive location.
+    replacing the URL paths with the appropriate archive location. The
+    repository configuration endpoint also needs to be adjusted to point to the
+    archives. Here is an example ``sed`` command:
+
+    .. code-block:: bash
+
+        # Salt repo configurations are found in the /etc/yum.repos.d/ directory
+        sed -i 's/repo.saltstack.com/archive.repo.saltstack.com/g' /etc/yum.repos.d/salt*.repo
+
 
 .. note::
     As of 2015.8.0, EPEL repository is no longer required for installing on

+ 9 - 1
doc/topics/installation/ubuntu.rst

@@ -22,7 +22,15 @@ Instructions are at https://repo.saltstack.com/#ubuntu.
 
     If looking to use archives, the same directions from the `Ubuntu install
     directions <https://repo.saltstack.com/#ubuntu>`__ can be used by replacing
-    the URL paths with the appropriate archive location.
+    the URL paths with the appropriate archive location. The
+    repository configuration endpoint also needs to be adjusted to point to the
+    archives. Here is an example ``sed`` command:
+
+    .. code-block:: bash
+
+        # Salt repo configurations are found in the /etc/apt/sources.list.d/saltstack.list directory
+        sed -i 's/repo.saltstack.com/archive.repo.saltstack.com/g' /etc/apt/sources.list.d/saltstack.list
+
 
 .. _ubuntu-install-pkgs: