From bc2a5a2a2a948519d27732edf8bf581793ca6a4e Mon Sep 17 00:00:00 2001 From: junxiawang Date: Mon, 14 Dec 2015 01:17:39 -0500 Subject: [PATCH] modify the ubuntu_os_other_pkg --- .../additionalpkg/ubuntu_os_other_pkg.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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 index 56aebccbd..a27bee77c 100644 --- 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 @@ -6,26 +6,26 @@ The Ubuntu ISO used to install the compute nodes only include packages to run a Compute nodes can access the internet ------------------------------------- -#. : Specify the repository +#. Specify the repository -Define the **otherpkgdir** attribute in osimage to use the internet repository directly.: :: + 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 +#. 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. :: + 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`` or ``updatenode -P otherpkgs`` -Run ``updatenode -S`` to **install/update** the packages on the compute nodes :: + 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 :: + Run ``updatenode -P`` otherpkgs to **install/update** the packages on the compute nodes :: updatenode -P otherpkgs