Commit Graph

196 Commits

Author SHA1 Message Date
phamt
f748d43151 Cleaned up xCAT code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6663 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-07 15:12:44 +00:00
daniceexi
1adbabdaa1 make genimage of SL to be a symbol link of rh/genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6662 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-07 13:44:00 +00:00
mxi1
3d9248c39f a bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-07 10:26:05 +00:00
mxi1
a837a444e8 strip ".ko" from the ndriver name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-07 10:12:01 +00:00
mxi1
60fd10c53a the code for redhat6 statelite support is added
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-07 08:20:37 +00:00
mxi1
ef2e10ccfb add "dash and dracut-network" to the pkglist files for redhat6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-07 08:19:06 +00:00
mxi1
3498e916fc add the pkglist and postinstall file for redhat6 on ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-06 15:55:22 +00:00
mxi1
d7e3671d38 remove mountfile() from genimage code, according to defect 3017542
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-06 08:29:49 +00:00
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