mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 09:13:08 +00:00
Remove trailing spaces in file docs/source/advanced/gpu/nvidia/osimage/ubuntu.rst
This commit is contained in:
parent
5dbe005d93
commit
a122244cd1
@ -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: ::
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user