<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Install_Additional_Packages</title><link>https://sourceforge.net/p/xcat/wiki/Install_Additional_Packages/</link><description>Recent changes to Install_Additional_Packages</description><atom:link href="https://sourceforge.net/p/xcat/wiki/Install_Additional_Packages/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 23 Jun 2014 17:11:51 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/xcat/wiki/Install_Additional_Packages/feed" rel="self" type="application/rss+xml"/><item><title>Install_Additional_Packages modified by jjh</title><link>https://sourceforge.net/p/xcat/wiki/Install_Additional_Packages/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v10
+++ v11
@@ -8,6 +8,11 @@
     cd /install/post/otherpkgs/rh/x86_64
     cp /myrpms/* .
     createrepo .
+    
+
+**NOTE**: when the management node is rhels6.x, and the otherpkgs repository data is for rhels5.x, we should run createrepo with "-s md5". Such as: 
+    
+    createrepo -s md5 .

   * Create a file that lists the additional rpms that should be installed. For example, in /install/custom/netboot/rh/compute.otherpkgs.pkglist put: 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jjh</dc:creator><pubDate>Mon, 23 Jun 2014 17:11:51 -0000</pubDate><guid>https://sourceforge.net8e1f231361c8c2520ca299cabe86bbbda51e9c15</guid></item><item><title>Install_Additional_Packages modified by Bruce</title><link>https://sourceforge.net/p/xcat/wiki/Install_Additional_Packages/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -34,3 +34,13 @@

 There are some examples of otherpkgs.pkglist in /opt/xcat/share/xcat/netboot/&amp;lt;distro&amp;gt;/service.*.otherpkgs.pkglist that show the format. 
+
+Note: the otherpkgs postbootscript should by default be associated with every node. Use lsdef to check: 
+    
+    lsdef node1 -i postbootscripts
+    
+
+If it is not, you need to add it. For example, add it for all of the nodes in the "compute" group: 
+    
+    chdef -p -t group compute postbootscripts=otherpkgs
+    
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bruce</dc:creator><pubDate>Mon, 23 Jun 2014 17:11:50 -0000</pubDate><guid>https://sourceforge.nete02ccd44aa622dcc2eccf76f2cf39f5a284b694e</guid></item><item><title>Install_Additional_Packages modified by Bruce</title><link>https://sourceforge.net/p/xcat/wiki/Install_Additional_Packages/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -1,4 +1,4 @@
-### Install Additional Packages Using an Otherpkgs Pkglist
+### Installing Additional Packages Using an Otherpkgs Pkglist

 If you have additional rpms (rpms **not** in the distro) that you also want installed, make a directory to hold them, create a list of the rpms you want installed, and add that information to the osimage definition: 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bruce</dc:creator><pubDate>Mon, 23 Jun 2014 17:11:47 -0000</pubDate><guid>https://sourceforge.net837321f950376723195bba05e2ba68afd98b0adc</guid></item><item><title>Install_Additional_Packages modified by Bruce</title><link>https://sourceforge.net/p/xcat/wiki/Install_Additional_Packages/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -1,32 +1,36 @@
-##### **Install other specific packages**
+### Install Additional Packages Using an Otherpkgs Pkglist

-If you want to install a specific package(s)onto the compute or service node, copy the rpms into the following directory or subdirectories. 
+If you have additional rpms (rpms **not** in the distro) that you also want installed, make a directory to hold them, create a list of the rpms you want installed, and add that information to the osimage definition: 
+
+  * Create a directory to hold the additional rpms: 

-    /install/post/otherpkgs/&amp;lt;os&amp;gt;/&amp;lt;arch&amp;gt;
+    mkdir -p /install/post/otherpkgs/rh/x86_64
+    cd /install/post/otherpkgs/rh/x86_64
+    cp /myrpms/* .
+    createrepo .

-Another thing you **MUST DO** is to create repodata for this directory. You can use the "createrepo" command to create repodata. 
-
-  
-On RHEL5.x, the "createrepo" rpm package can be found in the install ISO; on SLES11, it can be found in SLE-11-SDK-DVD Media 1 ISO. 
-
-  
-After "createrepo" is installed, you need to create one text file which contains the complete list of files to include in the repository. For example, the name of the text file is rpms.list in /install/post/otherpkgs/&amp;lt;os&amp;gt;/&amp;lt;arch&amp;gt; directory. Create rpms.list: 
+  * Create a file that lists the additional rpms that should be installed. For example, in /install/custom/netboot/rh/compute.otherpkgs.pkglist put: 

-    cd /install/post/otherpkgs/&amp;lt;os&amp;gt;/&amp;lt;arch&amp;gt;
-    ls *.rpm &amp;gt;rpms.list
+    myrpm1
+    myrpm2
+    myrpm3

-Then, run the following command to create the repodata for the newly-added packages: 
+  * Add both the directory and the file to the osimage definition: 

-    createrepo -i rpms.list /install/post/otherpkgs/&amp;lt;os&amp;gt;/&amp;lt;arch&amp;gt;
+    chdef -t osimage mycomputeimage otherpkgdir=/install/post/otherpkgs/rh/x86_64 otherpkglist=/install/custom/netboot/rh/compute.otherpkgs.pkglist

-The createrepo command with -i rpms.list option will create the repository for the rpm packages listed in the rpms.list file. It won't destroy or affect the rpm packages that are in the same directory, but have been included into another repository. 
+If you add more rpms at a later time, you must run createrepo again. The createrepo command is in the createrepo rpm, which for RHEL is in the 1st DVD, but for SLES is in the SDK DVD. 

-**Or**, if you create a **sub-directory** to contain the rpm packages, for example, named **other** in /install/post/otherpkgs/&amp;lt;os&amp;gt;/&amp;lt;arch&amp;gt;. Run the following command to create repodata for the directory _/install/post/otherpkgs/&amp;lt;os&amp;gt;/&amp;lt;arch&amp;gt;/_. 
+If you have **multiple sets of rpms** that you want to **keep separate** to keep them organized, you can put them in separate sub-directories in the otherpkgdir. If you do this, you need to do the following extra things, in addition to the steps above: 
+
+  * Run createrepo in each sub-directory 
+  * In your otherpkgs.pkglist, list at least 1 file from each sub-directory. (During installation, xCAT will define a yum or zypper repository for each directory you reference in your otherpkgs.pkglist.) For example: 

-    createrepo /install/post/otherpkgs/&amp;lt;os&amp;gt;/&amp;lt;arch&amp;gt;/**other**
+    xcat/xcat-core/xCATsn
+    xcat/xcat-dep/rh6/x86_64/conserver-xcat

-_Note:_ Replace **other** with your real directory name. 
+There are some examples of otherpkgs.pkglist in /opt/xcat/share/xcat/netboot/&amp;lt;distro&amp;gt;/service.*.otherpkgs.pkglist that show the format. 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bruce</dc:creator><pubDate>Mon, 23 Jun 2014 17:11:47 -0000</pubDate><guid>https://sourceforge.netf113f6cdd17008d2d6ae60cf06404f89fa9e7d9e</guid></item><item><title>Install_Additional_Packages modified by Lissa Valletta</title><link>https://sourceforge.net/p/xcat/wiki/Install_Additional_Packages/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -1,6 +1,6 @@
 ##### **Install other specific packages**

-If you want to install a specific package like a specific *.rpm onto the compute or service node, copy the *rpm into the following directory: 
+If you want to install a specific package(s)onto the compute or service node, copy the rpms into the following directory or subdirectories. 

     /install/post/otherpkgs/&amp;lt;os&amp;gt;/&amp;lt;arch&amp;gt;

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lissa Valletta</dc:creator><pubDate>Mon, 23 Jun 2014 17:11:46 -0000</pubDate><guid>https://sourceforge.net28a3188df14073b99277d5d605d2da7e423d9bbb</guid></item><item><title>Install_Additional_Packages modified by Lissa Valletta</title><link>https://sourceforge.net/p/xcat/wiki/Install_Additional_Packages/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -30,14 +30,3 @@

 _Note:_ Replace **other** with your real directory name. 
-
-##### **Setup the otherpkgs list file**
-
-**If using provmethod=osimage name**, create your package list file by the name defined in the otherpkglist attribute for the node. 
-    
-    lsdef -t osimage -o osimagename | grep otherpkglist
-    
-
-**If using provmethod=install,netboot,statelite**, create your package list file, in the /install/custom/&amp;lt;provmethod&amp;gt;/&amp;lt;platform&amp;gt; where platform is your os name (rh,sles,fedora,etc). The file for this provmethod should have the name &amp;lt;profile&amp;gt;.otherpkgs.pkglist. For example, for service nodes, the name might be service.otherpkgs.pkglist. For compute nodes, compute.otherpkgs.list. 
-
-**There are examples under /opt/xcat/share/xcat/netboot/&amp;lt;platform&amp;gt; of typical *otherpkgs.pkglist files that can be copied to the appropriate directory and modified.**
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lissa Valletta</dc:creator><pubDate>Mon, 23 Jun 2014 17:11:45 -0000</pubDate><guid>https://sourceforge.net3c7d35f940b21ffa6af7f513f556293c80edcdd7</guid></item><item><title>Install_Additional_Packages modified by Lissa Valletta</title><link>https://sourceforge.net/p/xcat/wiki/Install_Additional_Packages/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -33,11 +33,11 @@

 ##### **Setup the otherpkgs list file**

-IF using provmethod=osimage name, create your package list file by the name defined in the otherpkglist attribute for the node. 
+**If using provmethod=osimage name**, create your package list file by the name defined in the otherpkglist attribute for the node. 

     lsdef -t osimage -o osimagename | grep otherpkglist

-If using provmethod=install,netboot,statelite, create your package list file, in the /install/custom/&amp;lt;provmethod&amp;gt;/&amp;lt;platform&amp;gt; where platform is your os name (rh,sles,fedora,etc). The file for this provmethod should have the name &amp;lt;profile&amp;gt;.otherpkgs.pkglist. For example, for service nodes, the name might be service.otherpkgs.pkglist. For compute nodes, compute.otherpkgs.list. 
+**If using provmethod=install,netboot,statelite**, create your package list file, in the /install/custom/&amp;lt;provmethod&amp;gt;/&amp;lt;platform&amp;gt; where platform is your os name (rh,sles,fedora,etc). The file for this provmethod should have the name &amp;lt;profile&amp;gt;.otherpkgs.pkglist. For example, for service nodes, the name might be service.otherpkgs.pkglist. For compute nodes, compute.otherpkgs.list. 

-There are examples under /opt/xcat/share/xcat/netboot/&amp;lt;platform&amp;gt; of typical *otherpkgs.pkglist files that can be copied to the /install/custom/... directory and modified. 
+**There are examples under /opt/xcat/share/xcat/netboot/&amp;lt;platform&amp;gt; of typical *otherpkgs.pkglist files that can be copied to the appropriate directory and modified.**
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lissa Valletta</dc:creator><pubDate>Mon, 23 Jun 2014 17:11:42 -0000</pubDate><guid>https://sourceforge.nete1539b12aa1a4ba665b70972515b8956e150c2a6</guid></item><item><title>Install_Additional_Packages modified by Lissa Valletta</title><link>https://sourceforge.net/p/xcat/wiki/Install_Additional_Packages/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,4 +1,4 @@
-#### **Install other specific packages**
+##### **Install other specific packages**

 If you want to install a specific package like a specific *.rpm onto the compute or service node, copy the *rpm into the following directory: 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lissa Valletta</dc:creator><pubDate>Mon, 23 Jun 2014 17:11:42 -0000</pubDate><guid>https://sourceforge.net0e3035ce5d4960034ad0e399e6dc0532c1d344d4</guid></item><item><title>Install_Additional_Packages modified by Lissa Valletta</title><link>https://sourceforge.net/p/xcat/wiki/Install_Additional_Packages/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -31,7 +31,7 @@

 _Note:_ Replace **other** with your real directory name. 

-###### Setup the otherpkgs list file
+##### **Setup the otherpkgs list file**

 IF using provmethod=osimage name, create your package list file by the name defined in the otherpkglist attribute for the node. 

@@ -40,4 +40,4 @@

 If using provmethod=install,netboot,statelite, create your package list file, in the /install/custom/&amp;lt;provmethod&amp;gt;/&amp;lt;platform&amp;gt; where platform is your os name (rh,sles,fedora,etc). The file for this provmethod should have the name &amp;lt;profile&amp;gt;.otherpkgs.pkglist. For example, for service nodes, the name might be service.otherpkgs.pkglist. For compute nodes, compute.otherpkgs.list. 

-There are examples under /opt/xcat/share/xcat/netboot/&amp;lt;platform&amp;gt; of typical *otherpkgs.pkglist files. 
+There are examples under /opt/xcat/share/xcat/netboot/&amp;lt;platform&amp;gt; of typical *otherpkgs.pkglist files that can be copied to the /install/custom/... directory and modified. 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lissa Valletta</dc:creator><pubDate>Mon, 23 Jun 2014 17:11:41 -0000</pubDate><guid>https://sourceforge.net6717376ae3eab456ec1d4c36ec57bbcaa38906e8</guid></item><item><title>Install_Additional_Packages modified by Lissa Valletta</title><link>https://sourceforge.net/p/xcat/wiki/Install_Additional_Packages/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -30,3 +30,14 @@

 _Note:_ Replace **other** with your real directory name. 
+
+###### Setup the otherpkgs list file
+
+IF using provmethod=osimage name, create your package list file by the name defined in the otherpkglist attribute for the node. 
+    
+    lsdef -t osimage -o osimagename | grep otherpkglist
+    
+
+If using provmethod=install,netboot,statelite, create your package list file, in the /install/custom/&amp;lt;provmethod&amp;gt;/&amp;lt;platform&amp;gt; where platform is your os name (rh,sles,fedora,etc). The file for this provmethod should have the name &amp;lt;profile&amp;gt;.otherpkgs.pkglist. For example, for service nodes, the name might be service.otherpkgs.pkglist. For compute nodes, compute.otherpkgs.list. 
+
+There are examples under /opt/xcat/share/xcat/netboot/&amp;lt;platform&amp;gt; of typical *otherpkgs.pkglist files. 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lissa Valletta</dc:creator><pubDate>Mon, 23 Jun 2014 17:11:40 -0000</pubDate><guid>https://sourceforge.netd700468530aca803d5487b3d1db5b41e59732af5</guid></item></channel></rss>