Commit Graph

135 Commits

Author SHA1 Message Date
immarvin
80ddcd845b correct the dns configuration during node provision when unicast dhcp is enabled 2014-05-09 02:05:16 -07:00
immarvin
7235387417 enhance the dhcp unicast for some specific cases on nameservers and gateway value 2014-04-17 03:10:15 -07:00
immarvin
a3b85a2d42 support unicast dhcp during provisioning and 1st boot, including diskful for sles and rh 2014-04-11 07:46:15 -07:00
ligc
3d5bc652c1 fix for bug 4059: trim the / at the end of pkgdir 2014-04-11 15:44:02 -05:00
daniceexi
9fbd6a0f7d Code drop for new requirement: Add a new flag --ignorekernelchk for nodeset, geninitrd and genimage commands to skip the kernel version checking when injecting drivers from osimage.driverupdatesrc 2013-11-19 06:29:46 -05:00
Jarrod Johnson
9799071116 Fix SLES driver update media injection that is not rpm based 2013-11-18 16:31:59 -05:00
Jarrod Johnson
efb4565f32 Fix problem where SLES11 SP3 SDK disk 3 would overwrite disk 1 2013-11-07 13:45:51 -05:00
lissav
8b84e9e0eb defect 3819 2013-10-10 13:57:18 -04:00
daniceexi
9f8a003107 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:04:36 -04:00
daniceexi
f9c1bd930e defect 3779: change the output of driver injection to make it sensible 2013-09-25 01:49:56 -04:00
xq2005
260d2a5746 sles.pm modification for sysclone on sles 2013-08-26 20:51:26 -07:00
xq2005
b2f511f4df sles.pm modification for sles 2013-08-26 00:01:05 -07:00
xq2005
e87d5fa074 add mksysclone in sles.pm 2013-08-22 23:32:02 -07:00
daniceexi
004e0533f0 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. And merge the status update commit which checked in by Yang Song from 2.8 2013-08-16 05:55:19 -04:00
daniceexi
2810fbea3f 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 09:59:54 -04:00
daniceexi
cc888734aa Change the insert_dd function for handling the initrd hacking. 2013-07-31 06:57:34 -04:00
daniceexi
d18c4b0307 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/trunk@16974 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-15 03:04:36 +00:00
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