diff --git a/docs/source/guides/admin-guides/manage_clusters/common/deployment/additionalpkg/ubuntu_os_other_pkg.rst b/docs/source/guides/admin-guides/manage_clusters/common/deployment/additionalpkg/ubuntu_os_other_pkg.rst new file mode 100644 index 000000000..e7a3fa7db --- /dev/null +++ b/docs/source/guides/admin-guides/manage_clusters/common/deployment/additionalpkg/ubuntu_os_other_pkg.rst @@ -0,0 +1,36 @@ +Install Additional Other Packages with Ubuntu official mirror +============================================================== + +The Ubuntu ISO used to install the compute nodes only include packages to run a minimal base operating system, it is likely that users will want to install additional Ubuntu packages from the internet Ubuntu repositories or local repositories, this section describes how to install additional Ubuntu packages. + +Compute nodes can access the internet +------------------------------------- + +#. Specify the repository + + Define the **otherpkgdir** attribute in osimage to use the internet repository directly.: :: + + chdef -t osimage otherpkgdir="http://us.archive.ubuntu.com/ubuntu/ \ + $(lsb_release -sc) main,http://us.archive.ubuntu.com/ubuntu/ $(lsb_release -sc)-update main" + +#. Define the otherpkglist file + + create an otherpkglist file,**/install/custom/install/ubuntu/compute.otherpkgs.pkglist**. Add the packages' name into thist file. And modify the otherpkglist attribute for osimage object. :: + + chdef -t osimage otherpkglist=/install/custom/install/ubuntu/compute.otherpkgs.pkglist + +#. Run ``updatenode -S`` or ``updatenode -P otherpkgs`` + + Run ``updatenode -S`` to **install/update** the packages on the compute nodes :: + + updatenode -S + + Run ``updatenode -P`` otherpkgs to **install/update** the packages on the compute nodes :: + + updatenode -P otherpkgs + +Compute nodes can not access the internet +------------------------------------------ + +If compute nodes cannot access the internet, there are two ways to install additional packages:use apt proxy or use local mirror according to :ref:`ubuntu-install-non-internet` + diff --git a/docs/source/guides/admin-guides/manage_clusters/ppc64le/diskful/customize_image/additional_pkg.rst b/docs/source/guides/admin-guides/manage_clusters/ppc64le/diskful/customize_image/additional_pkg.rst index 6a1957654..c603de605 100644 --- a/docs/source/guides/admin-guides/manage_clusters/ppc64le/diskful/customize_image/additional_pkg.rst +++ b/docs/source/guides/admin-guides/manage_clusters/ppc64le/diskful/customize_image/additional_pkg.rst @@ -7,3 +7,4 @@ Add Additional Software Packages ../../../common/deployment/additionalpkg/additional_pkg_overview.rst ../../../common/deployment/additionalpkg/nonubuntu_os_pkg.rst ../../../common/deployment/additionalpkg/nonubuntu_os_other_pkg.rst + ../../../common/deployment/additionalpkg/ubuntu_os_other_pkg.rst