From ed15a2f1dda2e3f960972f5c04634a51b6145887 Mon Sep 17 00:00:00 2001 From: immarvin Date: Tue, 15 Sep 2015 02:57:09 -0400 Subject: [PATCH] correct some indent problems --- .../deployment/acc_initrd_rootimg_gen.rst | 79 +++++++++---------- 1 file changed, 38 insertions(+), 41 deletions(-) diff --git a/docs/source/guides/admin-guides/manage_clusters/common/deployment/acc_initrd_rootimg_gen.rst b/docs/source/guides/admin-guides/manage_clusters/common/deployment/acc_initrd_rootimg_gen.rst index b2abc7e51..c296af68a 100644 --- a/docs/source/guides/admin-guides/manage_clusters/common/deployment/acc_initrd_rootimg_gen.rst +++ b/docs/source/guides/admin-guides/manage_clusters/common/deployment/acc_initrd_rootimg_gen.rst @@ -10,52 +10,49 @@ Enabling the ``pigz`` for diskless initrd and rootimg generating The paralell compression tool ``pigz`` can be enabled by installing ``pigz`` package on the management server or diskless rootimg. Depending on the method of generating the initrd and compressed rootimg, the steps differ in different Linux distributions. +* **[RHEL]** -* Enabling the ``pigz`` on :ref:`Ubuntu Server LTS` + The package ``pigz`` is shipped in Extra Packages for Enterprise Linux (or EPEL) instead of Redhat iso, this involves some complexity. + + Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Linux (OL). + + EPEL has an ``epel-release`` package that includes gpg keys for package signing and repository information. Installing this package for your Enterprise Linux version should allow you to use normal tools such as ``yum`` to install packages and their dependencies. + + Please refer to the http://fedoraproject.org/wiki/EPEL for more details on EPEL + + 1) Enabling the ``pigz`` in ``genimage`` (only supported in RHELS6 or above) + + ``pigz`` should be installed in the diskless rootimg. Please download ``pigz`` package from https://dl.fedoraproject.org/pub/epel/ , then customize the diskless osimage to install ``pigz`` as the additional packages, see :doc:`Install Additional Other Packages` for more details. + + 2) Enabeling the ``pigz`` in ``packimage`` + + ``pigz`` should be installed on the management server. Please download ``pigz`` package from https://dl.fedoraproject.org/pub/epel/ , then install the ``pigz`` with ``yum`` or ``rpm``. -Make sure the ``pigz`` is installed on the management node with the following command:: +* **[UBUNTU]** - dpkg -l|grep pigz + Make sure the ``pigz`` is installed on the management node with the following command:: + + dpkg -l|grep pigz + + If not, ``pigz`` can be installed with the following command:: + + apt-get install pigz -If not, ``pigz`` can be installed with the following command:: - - apt-get install pigz +* **[SLES]** - -* Enabling the ``pigz`` on :ref:`Suse Linux Enterprise Server (SLES)` - -1) Enabling the ``pigz`` in ``genimage`` (only supported in SLES12 or above) - -``pigz`` should be installed in the diskless rootimg, since``pigz`` is shipped in the SLES iso, this can be done by adding ``pigz`` into the ``pkglist`` of diskless osimage. - -2) Enabling the ``pigz`` in ``packimage`` - -Make sure the ``pigz`` is installed on the management node with the following command:: - - rpm -qa|grep pigz - -If not, ``pigz`` can be installed with the following command:: - - zypper install pigz - - -* Enabling the ``pigz`` on :ref:`Red Hat Enterprise Linux (RHEL)` - -The package ``pigz`` is shipped in Extra Packages for Enterprise Linux (or EPEL) instead of Redhat iso, this involves some complexity. - -Extra Packages for Enterprise Linux (or EPEL) is a Fedora Special Interest Group that creates, maintains, and manages a high quality set of additional packages for Enterprise Linux, including, but not limited to, Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Linux (OL). - -EPEL has an ``epel-release`` package that includes gpg keys for package signing and repository information. Installing this package for your Enterprise Linux version should allow you to use normal tools such as ``yum`` to install packages and their dependencies. - -Please refer to the http://fedoraproject.org/wiki/EPEL for more details on EPEL - -1) Enabling the ``pigz`` in ``genimage`` (only supported in RHELS6 or above) - -``pigz`` should be installed in the diskless rootimg. Please download ``pigz`` package from https://dl.fedoraproject.org/pub/epel/ , then customize the diskless osimage to install ``pigz`` as the additional packages, see :doc:`Install Additional Other Packages` for more details. - -2) Enabeling the ``pigz`` in ``packimage`` - -``pigz`` should be installed on the management server. Please download ``pigz`` package from https://dl.fedoraproject.org/pub/epel/ , then install the ``pigz`` with ``yum`` or ``rpm``. + 1) Enabling the ``pigz`` in ``genimage`` (only supported in SLES12 or above) + + ``pigz`` should be installed in the diskless rootimg, since``pigz`` is shipped in the SLES iso, this can be done by adding ``pigz`` into the ``pkglist`` of diskless osimage. + + 2) Enabling the ``pigz`` in ``packimage`` + + Make sure the ``pigz`` is installed on the management node with the following command:: + + rpm -qa|grep pigz + + If not, ``pigz`` can be installed with the following command:: + + zypper install pigz .. _pigz_example: