Commit Graph

118 Commits

Author SHA1 Message Date
daniceexi
57889f408a Enhance of initrd hack: Additional drivers loading from osdistroupdate and support the --noupdateinitrd for nodeset command to avoid the initrd hack
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:06:50 +00:00
lissav
a180201e24 add NODE=<nodename> to kcmdline
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16428 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-28 12:20:12 +00:00
lissav
86e108ead9 remove comment out call to writescript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16326 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 14:17:14 +00:00
daniceexi
52d1725a0c Change the kernel parameter name which passed to localdisk script to indicate the action
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 07:46:54 +00:00
jbjohnso
c0e81dc8ad Use a different error code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:57:18 +00:00
jbjohnso
bd67c19612 Have copycds error set exit code on client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:57:08 +00:00
jbjohnso
8360cddd12 Provide a mechanism for bundled xCAT instances to forbid image import without existing templates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 19:19:30 +00:00
wanghuaz
83e983106c Create osimage with profile compute for management node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-30 07:51:25 +00:00
jjhua
0308e63ef4 support multiple paths of osimage in sles diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 06:20:30 +00:00
ligc
ff2affd551 provide a way to disable the warning message when run nodeset install/netboot/statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14957 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 07:52:19 +00:00
jbjohnso
b94a591227 Fix sles to deal with alt $installroot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14901 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-16 18:44:54 +00:00
daniceexi
c2f4d4440a Change to make the nodeset osimage=<osimage name> command to copy the install/netboot resources to /tftpboot/xcat/osimage/<osimage name>/ instead of /tftpboot/xcat/(netboot)/<os>/<arch>/<profile>/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14845 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 13:56:49 +00:00
immarvin
b2a99543f1 add -w|--nonoverwrite option, check whether the specific os media has already been copied in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 08:39:52 +00:00
ligc
bb20b69a88 add warning message with nodeset <noderange> install/netboot/statelite for RHEL, CentOS, Fedora, SLES and Debian/Ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-05 07:39:45 +00:00
jjhua
fd39b51ce1 fixed bug 3263, we require that the first value of osimage.pkgdir should be the os based pkgdir.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-21 08:30:39 +00:00
immarvin
6aab6faf02 make copycds to abort correctly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14541 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 13:25:52 +00:00
daniceexi
5158a5fe95 Added code to handle the case that driver name is .ko.new instead of .ko. Copy the drivers to /lib/modules/kernel/initrd/ instead of /lib/modules/kernle/kernle/... for sles during injecting the drivers to initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14460 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 09:02:39 +00:00
daniceexi
427b66827f Code drop for local hard disk to be used as persistent storage for statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:02:36 +00:00
immarvin
bcacb6fb49 #3170 sles10.4: copycds need -n sles10.4 to set the os level
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-13 06:34:53 +00:00
immarvin
6842acc9a8 add -o|--noosimage option to avoid creating osimages after copycds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-08 07:02:56 +00:00
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