Commit Graph

129 Commits

Author SHA1 Message Date
lissav
b96e107a7c defect 3819 2013-10-10 13:42:47 -04:00
daniceexi
9dcd216ac1 check in the code to support the driver injection for stateless: 1. genimage will copy the generated initrd to /tftpboot;2. support nodeset --noupdateinitrd 2013-09-26 03:07:46 -04:00
daniceexi
089855bcd2 defect 3779: change the output of driver injection to make it sensible 2013-09-25 01:52:45 -04:00
xq2005
9c0032b3c1 sysclone support sles11 on uefi mode 2013-08-26 20:55:11 -07:00
xq2005
814974aaa8 sles.pm mksysclone for sles 2013-08-26 00:17:08 -07:00
xq2005
67a663131e add mksysclone in sles.pm 2013-08-22 23:30:45 -07:00
daniceexi
11b99248a9 Enchancement for drvier injection to initrd: 1. add the updateonly keyword for netdrivers att that only update the existed drivers from new distro update instead of copying all the drivers, this is helpful to reduce the size of new built initrd; 2. the drivers for old kernel will be removed if there's new kernel will be used. 2013-08-16 01:26:06 -04:00
daniceexi
67a48e2ee6 defect 3726: for the initrd of sles, the /modules in initrd should symbol link to the new kernel dir if there's new kernel dir 2013-08-07 08:36:41 -04:00
daniceexi
016a947428 Change the insert_dd function for handling the initrd hacking. 2013-07-31 07:05:18 -04:00
daniceexi
e9d378a484 Changed the insert_dd that the kernel will be updated from the new update distro.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16961 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-12 02:36:52 +00:00
daniceexi
acc28bb0ed 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/branches/2.8@16873 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-04 05:03:10 +00:00
immarvin
a55349b5af update the nodelist.status to installing/netbooting via feedback from node during provision
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-17 15:13:41 +00:00
lissav
ea7577eb8f add NODE=<nodename> to kcmdline
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16430 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-28 12:24:30 +00:00
lissav
e514305d5e remove comment out call to writescript
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16328 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-16 14:19:26 +00:00
daniceexi
05415e6588 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/branches/2.8@16258 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 09:20:40 +00:00
jbjohnso
d652fa96fb Use a different error code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:56:11 +00:00
jbjohnso
a2205b8fab Have copycds error set exit code on client
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15821 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 20:55:13 +00:00
jbjohnso
feadffbc7b 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/branches/2.8@15793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 19:20:09 +00:00
wanghuaz
e70bea3edb Create osimage with profile compute for management node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-30 07:55:41 +00:00
jjhua
1ecd2f5164 support multiple paths of osimage in sles diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15322 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-01 09:07:58 +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