]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: remove references to unversioned repository addresses 21357/head
authorGreg Farnum <gfarnum@redhat.com>
Wed, 11 Apr 2018 17:53:07 +0000 (10:53 -0700)
committerGreg Farnum <gfarnum@redhat.com>
Wed, 11 Apr 2018 23:52:22 +0000 (16:52 -0700)
Signed-off-by: Greg Farnum <gfarnum@redhat.com>
doc/start/quick-start-preflight.rst

index e43384d8d2f527e7122231dbe2ca84d79c5d3797..22b0bac239bd03e22801a086a0c214d751baba5c 100644 (file)
@@ -26,12 +26,7 @@ For Debian and Ubuntu distributions, perform the following steps:
 
        wget -q -O- 'https://download.ceph.com/keys/release.asc' | sudo apt-key add -
 
-#. Add the Ceph packages to your repository::
-
-       echo deb https://download.ceph.com/debian/ $(lsb_release -sc) main | sudo tee /etc/apt/sources.list.d/ceph.list
-
-   The above URL contains the latest stable release of Ceph.  If you
-   would like to select a specific release, use the command below and
+#. Add the Ceph packages to your repository. Use the command below and
    replace ``{ceph-stable-release}`` with a stable Ceph release (e.g.,
    ``luminous``.)  For example::
 
@@ -63,18 +58,18 @@ For CentOS 7, perform the following steps:
 
    Please see the `EPEL wiki`_ page for more information.
 
-#. Add the Ceph repository to your yum configuration file at ``/etc/yum.repos.d/ceph.repo`` with the following command::
+#. Add the Ceph repository to your yum configuration file at ``/etc/yum.repos.d/ceph.repo`` with the following command. Replace  ``{ceph-stable-release}`` with a stable Ceph release (e.g.,
+   ``luminous``.)  For example::
 
-     cat >/etc/yum.repos.d/ceph.repo
+     cat << EOM > /etc/yum.repos.d/ceph.repo
      [ceph-noarch]
      name=Ceph noarch packages
-     baseurl=https://download.ceph.com/rpm/el7/noarch
+     baseurl=https://download.ceph.com/rpm-{ceph-stable-release}/el7/noarch
      enabled=1
      gpgcheck=1
      type=rpm-md
      gpgkey=https://download.ceph.com/keys/release.asc
-
-   and then this *Control-D*.  This will use the latest stable Ceph release. If you would like to install a different release, replace ``https://download.ceph.com/rpm/el7/noarch`` with ``https://download.ceph.com/rpm-{ceph-release}/el7/noarch`` where ``{ceph-release}`` is a release name like ``luminous``.
+     EOM
 
 #. Update your repository and install ``ceph-deploy``::