From a122244cd15baa74788b8af781e170ed10efc7c7 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file docs/source/advanced/gpu/nvidia/osimage/ubuntu.rst --- .../advanced/gpu/nvidia/osimage/ubuntu.rst | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/docs/source/advanced/gpu/nvidia/osimage/ubuntu.rst b/docs/source/advanced/gpu/nvidia/osimage/ubuntu.rst index f56f8b9ed..37be35353 100644 --- a/docs/source/advanced/gpu/nvidia/osimage/ubuntu.rst +++ b/docs/source/advanced/gpu/nvidia/osimage/ubuntu.rst @@ -12,7 +12,7 @@ xCAT provides a sample package list files for CUDA. You can find them at: * ``/opt/xcat/share/xcat/install/ubuntu/cudafull.ubuntu14.04.3.ppc64el.pkglist`` * ``/opt/xcat/share/xcat/install/ubuntu/cudaruntime.ubuntu14.04.3.ppc64el.pkglist`` -**[diskful note]**: There is a requirement to reboot the machine after the CUDA drivers are installed. To satisfy this requirement, the CUDA software is installed in the ``pkglist`` attribute of the osimage definition where the reboot happens after the Operating System is installed. +**[diskful note]**: There is a requirement to reboot the machine after the CUDA drivers are installed. To satisfy this requirement, the CUDA software is installed in the ``pkglist`` attribute of the osimage definition where the reboot happens after the Operating System is installed. cudafull ^^^^^^^^ @@ -21,13 +21,13 @@ cudafull lsdef -t osimage -z ubuntu14.04.3-ppc64el-install-compute \ | sed 's/install-compute:/install-cudafull:/' \ - | mkdef -z + | mkdef -z #. Add the CUDA repo created in the previous step to the ``pkgdir`` attribute. If your Management Node IP is 10.0.0.1, the URL for the repo would be ``http://10.0.0.1/install/cuda-repo/ppc64el/var/cuda-repo-7-5-local``, add it to the pkgdir:: - chdef -t osimage -o ubuntu14.04.3-ppc64el-install-cudafull \ + chdef -t osimage -o ubuntu14.04.3-ppc64el-install-cudafull \ -p pkgdir=http://10.0.0.1/install/cuda-repo/ppc64el/var/cuda-repo-7-5-local @@ -45,7 +45,7 @@ cudaruntime lsdef -t osimage -z ubuntu14.04.3-ppc64el-install-compute \ | sed 's/install-compute:/install-cudaruntime:/' \ - | mkdef -z + | mkdef -z #. Add the CUDA repo created in the previous step to the ``pkgdir`` attribute: @@ -64,14 +64,14 @@ cudaruntime Diskless images --------------- -The following examples will create diskless images for ``cudafull`` and ``cudaruntime``. The osimage definitions will be created from the base ``ubuntu14.04.3-ppc64el-netboot-compute`` osimage. +The following examples will create diskless images for ``cudafull`` and ``cudaruntime``. The osimage definitions will be created from the base ``ubuntu14.04.3-ppc64el-netboot-compute`` osimage. xCAT provides a sample package list files for CUDA. You can find them at: * ``/opt/xcat/share/xcat/netboot/ubuntu/cudafull.ubuntu14.04.3.ppc64el.pkglist`` * ``/opt/xcat/share/xcat/netboot/ubuntu/cudaruntime.ubuntu14.04.3.ppc64el.pkglist`` -**[diskless note]**: For diskless images, the requirement for rebooting the machine is not applicable because the images is loaded on each reboot. The install of the CUDA packages is required to be done in the ``otherpkglist`` **NOT** the ``pkglist``. +**[diskless note]**: For diskless images, the requirement for rebooting the machine is not applicable because the images is loaded on each reboot. The install of the CUDA packages is required to be done in the ``otherpkglist`` **NOT** the ``pkglist``. cudafull ^^^^^^^^ @@ -80,9 +80,9 @@ cudafull lsdef -t osimage -z ubuntu14.04.3-ppc64el-netboot-compute \ | sed 's/netboot-compute:/netboot-cudafull:/' \ - | mkdef -z + | mkdef -z -#. Add the CUDA repo created in the previous step to the ``otherpkgdir`` attribute. +#. Add the CUDA repo created in the previous step to the ``otherpkgdir`` attribute. If your Management Node IP is 10.0.0.1, the URL for the repo would be ``http://10.0.0.1/install/cuda-repo/ppc64el/var/cuda-repo-7-5-local``, add it to the ``otherpkgdir``:: @@ -98,7 +98,7 @@ cudafull #. Verify that ``acpid`` is installed on the Management Node or on the Ubuntu host where you are generating the diskless image: :: - apt-get install -y acpid + apt-get install -y acpid #. Generate the image: :: @@ -115,9 +115,9 @@ cudaruntime lsdef -t osimage -z ubuntu14.04.3-ppc64el-netboot-compute \ | sed 's/netboot-compute:/netboot-cudaruntime:/' \ - | mkdef -z + | mkdef -z -#. Add the CUDA repo created in the previous step to the ``otherpkgdir`` attribute. +#. Add the CUDA repo created in the previous step to the ``otherpkgdir`` attribute. If your Management Node IP is 10.0.0.1, the URL for the repo would be ``http://10.0.0.1/install/cuda-repo/ppc64el/var/cuda-repo-7-5-local``, add it to the ``otherpkgdir``:: @@ -133,7 +133,7 @@ cudaruntime #. Verify that ``acpid`` is installed on the Management Node or on the Ubuntu host where you are generating the diskless image: :: - apt-get install -y acpid + apt-get install -y acpid #. Generate the image: ::