immarvin
70b33a7e6b
don't associate osdistro with osimages which created by xcat in copycds
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14119 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 09:22:00 +00:00
immarvin
9260b97282
set the MD5 Digest value of iso's fullpath as the default mount point of the iso
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14026 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 11:22:53 +00:00
daniceexi
5ffbcb5fba
Change the interface of loading drivers from rpm package. If no netdrivers attribute specifiec, no driver will be added. If you'd like to add all drivers from rpm packages, using allupdate as key word in netdrivers attribute.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14022 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 05:58:29 +00:00
jbjohnso
7cf628060e
Fix problem where only one profile was processed
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 20:26:55 +00:00
immarvin
50d6a62ca6
update osdistro table after copycd
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 09:19:27 +00:00
daniceexi
5a2e1e6a04
fixed a typo to generate the path of initrd
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-28 08:29:10 +00:00
zhaoertao
40e144b4cc
for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
xq2005
26a330f6dd
fix bug for specify partion file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 07:39:59 +00:00
xq2005
a8d1627801
specify paritionfile:
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 06:14:04 +00:00
daniceexi
161cdeb4ec
code drop for the support that loading drivers from driver rpm. The change has affected the code logic for driver disk support.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13246 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-05 14:59:08 +00:00
xq2005
4de4edcd88
specify partition file: get patition definition file in sles.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-04 06:11:22 +00:00
immarvin
2fae43d52e
fix defect ID: 3537687 BOOTIF is not written into yaboot file on sles11.2 for ppc64
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-28 04:11:39 +00:00
jbjohnso
646386b6d2
Fix sles, http makes it unconditionally '/install' regardless of backing path
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 19:29:00 +00:00
jbjohnso
45e9ac6f1e
Actually source the httpmethod/httpport from site table
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13129 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 20:20:47 +00:00
jbjohnso
62507fbe0e
Prepare to have http/https switchable and non-default http ports
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 20:17:42 +00:00
immarvin
1661b574af
copycds enhancement:remove some debug messages
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 09:29:51 +00:00
immarvin
dc55140fe4
copycds enhancement:add -p and -i option
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13038 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 09:06:09 +00:00
jjhua
41c6e9bf7a
For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:50:08 +00:00
xq2005
4e6128de01
update the cmdlist with crashkernelsize attribute
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-18 09:18:03 +00:00
xq2005
a5975a08f2
kdump for sles when nodeset
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12000 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 07:35:16 +00:00
jbjohnso
7712d54227
For x86, select a faster mechanism for injecting driver disks so that nodeset is significantly faster
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-25 17:48:11 +00:00
wanghuaz
cda0df7b5c
Fixed issues in service node pool working with diskful and diskless installation
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-20 07:20:41 +00:00
jbjohnso
4a5773f139
Fix SLES driver injection when used on a noderange so that more than first node gets correct arguments
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-18 16:18:39 +00:00
jbjohnso
d39e110af8
Finish per-node/group tftpdir for NAS mount point managed sync up
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-15 21:04:42 +00:00
jbjohnso
e65b93e3ba
Change sles plugin to default to quiet
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-22 15:50:35 +00:00
jbjohnso
2855558c34
Have SLES plugin implement the same install server default as new RedHat behavior
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-21 16:14:12 +00:00
mellor
7c89d073b0
use getNodeAttribs instead of getAttribs for statelite.mntopts to handle nodegroups in statelite.node
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-31 13:00:18 +00:00
daniceexi
8eed74d183
defect 3374036: change to get the path of rootimg from osimage table
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10181 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-28 10:21:12 +00:00
daniceexi
7529e736f3
defect 3370506: make copycds command to generate the osimage obj for the stateless and statelite
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-21 06:26:13 +00:00
angli-xcat
00f535776c
To make the code easier to maintain we decided not to select autoyast config template file (compute.sdk.sles11.tmpl/compute.sles11), instead if the user want to do a SDK included full install, he should prepare a customized template from compute.sdk.sles11.tmpl, and copy it to /install/custom directory.
...
This is for SLES 11 SP1 SDK DVD support (Patch 1)
====================================================================
Patch Reason: Design changed, To make the code easier to maintain
we decided not to automate select autoyast config template file
(compute.sdk.sles11.tmpl/compute.sles11),
Patch detail: If the user want to do a SDK DVD included full install,
he/she should prepare a customized template originated from
compute.sdk.sles11.tmpl, and copy it under /install/custom
====================================================================
====================================================================
Target Dist: SLES 11 SP1, for both full install and statelite install
Aim: To enable users to install packages from SDK DVD during installation
user impact: If the user add packages in .pkglist files, he/she should first do 'copycds' using SDK DVD iso.
For full install, the user should prepare a .tmpl file for autoyast
By-effect: N/A
Limitations: 2nd installation DVD and 2nd SDK DVD not supported, both carries source packages.
It seems they are not recognized by autoyast, and it's of no use to install sources pkgs on CNs.
====================================================================
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-29 10:03:58 +00:00
angli-xcat
03533e3102
This is for SLES 11 SP1 SDK DVD support (Patch 1)
...
====================================================================
Patch Reason: Design changed, to minimize risk when doing a regular
SLES11SP1 full install without SDK DVD copied.
Patch detail: If we do a full install for SLES11SP1, and previously
we did "copycds" with SDK DVD, we use compute.sdk.sles11.tmpl,
otherwise use compute.sles11.tmpl.
====================================================================
====================================================================
Target Dist: SLES 11 SP1, for both full install and statelite install
Aim: To enable users to install packages from SDK DVD during installation
user impact: If the user add packages in .pkglist files, he/she should first do 'copycds' using SDK DVD iso.
By-effect: N/A
Limitations: 2nd installation DVD and 2nd SDK DVD not supported, both carries source packages.
It seems they are not recognized by autoyast, and it's of no use to install sources pkgs on CNs.
====================================================================
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-28 09:28:21 +00:00
angli-xcat
04cb7483c6
This is for SLES 11 SP1 SDK DVD support
...
====================================================================
Target Dist: SLES 11 SP1, for both full install and statelite install
Aim: To enable users to install packages from SDK DVD during installation
user impact: If the user add packages in .pkglist files, he/she should first do 'copycds' using SDK DVD iso.
By-effect: N/A
Limitations: 2nd installation DVD and 2nd SDK DVD not supported, both carries source packages.
It seems they are not recognized by autoyast, and it's of no use to install sources pkgs on CNs.
====================================================================
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-27 03:46:29 +00:00
angli-xcat
679df9febb
This is to enable client to indicate options when mounting persistent directories on statelite(nfs/ramdisk) CNs, if not, "nolock,tcp" will be used as default options. This implementation aims for SLES11.
...
client can revise the statelite table to benefit from this, like:
#node,image,statemnt,mntopts,comments,disable
"935n02",,"192.168.0.244:/tmp","soft,timeo=200",,
------------------------------------------------------
Another change in sles.pm: we do insmod for net interfaces (ibmveth, ehea, etc...) after all other modules, to avoid failure when do 'netstart' during installation.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 03:06:56 +00:00
daniceexi
45372b5a4b
defect 3297886: fix the issue that handling the variable in the dir of statemnt attribute
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9539 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-10 11:32:51 +00:00
mxi1
e352f73e51
for defect 3293662, the "nodeset statelite" command will detect the rootfstype attribute automatically for both sles and redhat
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9516 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-09 02:45:24 +00:00
mxi1
b11687c421
the code to enable statelite semantics on top of ramdisk is here:
...
there's one new attribute called "rootfstype" for the osimage;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-06 06:54:06 +00:00
mxi1
3a928b23b7
for defect 3090498, remove two unused variable in sles.pm;
...
for defect 3091772 and 3091775, two errors in sles genimage.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-21 08:02:24 +00:00
mxi1
793f736a83
for defect 3089649, 3089643 and 3089635
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-18 10:13:44 +00:00
linggao
e700e1a6fb
made the nodeset work with old images, backward compaitible
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-22 15:21:16 +00:00
jbjohnso
f624fca9a4
-Skip attempt to manually do BOOTIF on x86 SLES
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7566 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-21 20:47:47 +00:00
mxi1
444bdd0b8e
the code change for genimage enhancement is here
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 09:54:47 +00:00
ligc
366020edfa
fix for bug 3052910: add more info when can not get template file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 06:04:23 +00:00
daniceexi
24fd95b6e7
Create the temporary directory for the driver update disk with ramdom dir name
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-23 08:00:51 +00:00
ligc
2d1cb4d54e
set the netdevice installnic or primarynic, instead of the mac address, if the installnic or primarynic is set to keyword mac then the netdevice will be the mac address
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 05:22:41 +00:00
daniceexi
07d8cdfacb
The code checkin of driver update disk support for Linux
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7061 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 09:05:22 +00:00
linggao
e0902c9f69
bug fix for #3040277 , moved the substitution of some INCLUDESs to Template.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-06 14:22:28 +00:00
linggao
619a844bc3
package remove support for SLES autoyask configuration file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-04 19:42:56 +00:00
linggao
25507960cd
support patterns for updating sles os packages in updatenode
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6929 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-30 20:20:51 +00:00
linggao
d249091d77
updating os pkgs using updatenode: sles full install support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6875 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-27 18:16:27 +00:00
jbjohnso
8e85a8640c
-Change version detection semantics to pick up sles11.1 correctly
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-25 15:29:28 +00:00