mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-22 11:10:24 +00:00
modify the ubuntu_os_other_pkg
This commit is contained in:
@@ -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 <osimage name> 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 <osimage name> otherpkglist=/install/custom/install/ubuntu/compute.otherpkgs.pkglist
|
||||
|
||||
#. : Run ``updatenode <noderange> -S`` or ``updatenode <noderange> -P otherpkgs``
|
||||
#. Run ``updatenode <noderange> -S`` or ``updatenode <noderange> -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 <noderange> -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 <noderange> -P otherpkgs
|
||||
|
||||
|
Reference in New Issue
Block a user