Commit Graph

188 Commits

Author SHA1 Message Date
mxi1
d80587803c remove the un-used code from genimage, according to the defect 3019537
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6649 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-06 08:18:22 +00:00
mxi1
e007e6ca4c added nfs-related kernel modules, and some useful binaries for statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-30 10:07:00 +00:00
phamt
b6e3738702 Added .pkglist for RHEL5
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6622 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-29 20:55:06 +00:00
phamt
e8e67c672b Update Red Hat genimage to support s390x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6620 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-29 16:02:16 +00:00
daniceexi
445c595bf6 Scientific Linux support: add the genimage,tmpl files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-28 14:06:32 +00:00
daniceexi
503292503f move to make the IFACE variable to be set at the beginning of the init script so that the scope can cover the whole script; and export this variable to make sure netstart script can use it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6614 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-28 13:53:31 +00:00
jbjohnso
7c92ec0bd1 -Have BCD/B32 BCD naming convention in place
-Rectify fixup of DUID-UUID concept


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6582 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-22 20:50:07 +00:00
jbjohnso
f7f908cb8f -Prototype change to WinPE script
-Extract UUID, fix endianness, store in %guid%
    -Change registry to toy with DUID-UUID as defined in draft (number 4 selected for fun of it
    -Check for cmd by GUID


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6569 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-21 20:43:37 +00:00
mxi1
f8fab79782 for defect 3017573, change "-z" to "! -e".
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-18 02:59:31 +00:00
phamt
610d9e5e91 Update genimage code to support s390x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6468 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-16 00:09:21 +00:00
phamt
14812ec27b Added statelite support to zVM plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-15 21:09:35 +00:00
mxi1
8637c96318 update the code to handle the entries with "persistent" option,
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6449 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-12 10:03:48 +00:00
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