176 Commits

Author SHA1 Message Date
mxi1
1e2a27663c add one new rc.statelite file for rc.statelite.ppc.redhat,
on redhat5.x PPC64, we need to use "chroot" to run "openssl" command, or else, it will fail without any output


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6428 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-11 08:16:30 +00:00
mxi1
1c59d01b64 changed "#!/bin/sh" to "#!/bin/bash"
because redhat5.x use "anaconda.busybox sh" which doesn't support POSIX shell standards very well,
for example, it doesn't support array-type variables


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6420 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-10 09:45:15 +00:00
mxi1
2d39a67493 for the redhat genimage, add "xcatdsklspost" to the initrd.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6419 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-10 09:43:06 +00:00
mxi1
8bcb731086 defect 3006554 is fixed; if one home-made kernel is specified with "-k" option,
the user can put the kenrel file(for example, its name should head with "vmlinux" or "vmlinuz" or "image") into /boot/ directory,
put the related kernel modules to /lib/modules/


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6403 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-09 07:50:50 +00:00
bp-sawyers
e7d4696c69 Fixed bug 3011426 (var MYNAME undefined)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-04 20:36:55 +00:00
jbjohnso
5c4fece838 -Try Use shortname explicitly for STATEMNT things
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6344 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-03 17:27:52 +00:00
mxi1
0f64e02304 we need to assign the $kernelver value to dracut;
by default, dracut will use the kernel which is running on the hosts, which maight be not the same as the kernel version in our rootimg


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6265 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-28 09:22:09 +00:00
jbjohnso
d67118ea77 -Add additional scripting hosts, only 1MB more above base WMI
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6264 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-27 21:05:48 +00:00
jbjohnso
8673b5a04e -Add WMI to Windows PE winshell env for more capability
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-27 20:46:06 +00:00
mxi1
8a532cabce update rc.statelite to support both one directory and its sub-items in the litefile table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-26 07:56:41 +00:00
mxi1
9fb095dd43 make sure gettyset will always be in the .depend.start file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6208 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-24 07:23:05 +00:00
jbjohnso
419d7a9be6 -Use dism to mount, unmount, and apply drivers (Windows 7 AIK)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6206 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-22 02:17:25 +00:00
jbjohnso
0f859f957c -Add ssh in by default to esxi boots
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-17 15:04:01 +00:00
jbjohnso
d869ebbbee -Actually add the detected NIC to the uplink of the vSwitch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6135 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-15 11:36:44 +00:00
jbjohnso
d8c8c0e70d -Auto-disable hook when MAC= detected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6127 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-14 23:46:42 +00:00
jbjohnso
446a97fd6d -Stateless esxi hook for BOOTIF
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-14 23:44:14 +00:00
jbjohnso
6bb06e1aa1 -Tweak exclude lists to get rid of artwork in RHEL6
-Add kvm package list for rhel6


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-14 14:13:53 +00:00
mxi1
c891a99e34 defect 2994621 is fixed;
some LSB tags are added to gettyset,


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-14 07:42:58 +00:00
datajerk
2ad6ca4ac4 PBS_HOME wrong, should be /var/spool/torque (not /var/spool/pbs).
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6084 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-13 15:53:08 +00:00
jbjohnso
e31f55ae72 -Fix name resolution in rhel6 stateless/statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-12 13:41:10 +00:00
jbjohnso
d21b54c9fb -Honor -i and remove hardcoded IFACES
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-11 13:44:34 +00:00
jbjohnso
7cb8085496 -Fix postscript execution in RHEL6 stateless
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6055 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-10 20:12:43 +00:00
jbjohnso
d2f90ebd76 -Add dracut-network package for stateless initrd support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6054 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-10 14:36:48 +00:00
jbjohnso
bb5ae1ab0e -Remove deprecated packages from RHEL6 package list
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6053 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-10 14:22:52 +00:00
jbjohnso
fe22e2c980 -Fix driver name syntax on dracut mode
-Fix permission preservation on dracut module copy-in


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6052 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-10 14:21:41 +00:00
jbjohnso
a927d6c4e5 -Correct another typo in genimage for dracut
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6051 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-10 14:02:36 +00:00
jbjohnso
10b55f9276 -Fix typo in RHEL6 stateless/lite code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6050 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-10 14:00:16 +00:00
jbjohnso
3652e6630f -Reap stale dracut content
-Add ESXi 4.X detection for X>0 detection


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-10 13:54:48 +00:00
jbjohnso
bb671a083f RHEL6 statelite/less initrd support attempt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6048 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-10 13:40:11 +00:00
jbjohnso
bb31bdbfe8 -Experiment in making '-i' optional, setting stage for dracut F12+ and RHEL6 stateless
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-08 00:15:40 +00:00
linggao
adf8d46bc3 removed /var/cache/yum* from the exlist file and add /var/cache/zypper* instead for SLES diskless images
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6030 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-07 16:12:35 +00:00
jbjohnso
b5563debf9 -Put in dependency on network module
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6002 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-06 20:33:07 +00:00
vallard
508af695e9 removed noderange to be backwards compatible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5994 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-06 17:47:07 +00:00
mxi1
421b92f454 the code change for rhels4.x support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5922 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-30 03:02:06 +00:00
mxi1
f19057cdeb "iputils" is added to the .ppc64.pkglist files,
the "ping" command from "iputils" is used by the "setbootfromnet" script


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-27 06:25:37 +00:00
mxi1
bb9f222eaf use ${3} to instead the $hn variable in the xCATcmd function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-22 11:47:03 +00:00
jbjohnso
3037c3b12c -Check in some code relvant to feature 2917250, dracut based stateless/statelite support. See feature for more details
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-21 21:17:17 +00:00
mxi1
9ed6596820 -defect 2990306 is fixed;
if two or more kernel packages are installed into $rootimg_dir/boot/,
the value of "<$rootimg_dir/boot/vmlinux-*>" will be one array, not a file, 
which can lead to one error for the copy() subroutine in File::Copy.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-21 09:36:22 +00:00
jbjohnso
25713d8aa2 -Checking in fedora12 stateless temporarily as a separate directory, to avoid impacting regression testing for other fedora editions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-16 19:49:51 +00:00
mxi1
27982a9e39 -defect 2987052 is fixed;
before the copy command, make sure the required kernel file is there,
if there's no one, returen one error message;



git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5795 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-16 10:48:27 +00:00
linggao
0be60e14a1 big fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5783 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-15 18:31:46 +00:00
mxi1
fa4c045506 -defect 2984257 is fixed;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-09 03:18:56 +00:00
cjhardee
ad26890c44 Adding the timezone package to the package lists that didn't have it so stateless sles images will have the correct timezone
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5719 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-08 19:40:20 +00:00
ligc
8db53eb54d add powerpc-utils and bc into pkglist to enable the setbootfromnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5708 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-08 01:26:10 +00:00
ligc
313fbd9fb1 add ppc64-utils into pkglist to enable the setbootfromnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-08 01:21:32 +00:00
ligc
cb1f062faa add ppc64-utils into pkglist to enable the setbootfromnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-08 01:19:20 +00:00
mellor
1b30b87fb2 removed xCATsn from pkglist, already in otherpkgs.pglist. conserver gets installed too early when in pkglist, and /etc/services does not get set up correctly.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-06 20:29:37 +00:00
mxi1
68904a9cea Add one line "STARMODE=auto" in the ifcfg-$nic file, which can configure the routes following the "routes" file on SUSE.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5679 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-06 06:45:36 +00:00
mxi1
0e32272c61 -defect 2980919 is fixed;
the "ifcfg-$nic" file will be there for SLES, right now.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-06 05:54:54 +00:00
mxi1
eb756f9804 the litefile and litetree commands need the <noderange> argument,
xCATcmd() is updated by adding "<noderange></noderange>" 


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-03 08:36:41 +00:00