daniceexi
01b40469c3
The code checkin of driver update disk support for Linux
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 09:06:12 +00:00
daniceexi
a2b682832e
The code checkin of driver update disk support for Linux
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7062 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 09:05:51 +00:00
mxi1
fd6fcab6e7
increased the retry times;
...
replace udp with tcp as the default nfs options;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-12 03:24:40 +00:00
daniceexi
b02e2702c6
defect 3034629: make the files in fedora/dracut links to rh/dracut instead of linking the directory directly.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6859 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-26 10:19:15 +00:00
daniceexi
bad5e5db4c
rpm cannot handle symbol link directory. Add the symbol link in spec file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6857 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-26 09:26:18 +00:00
mxi1
4f80ea942c
"cp -a" can't copy the files with "." as the prefix,
...
and "cp -r -a" can do it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 11:05:38 +00:00
mxi1
461c236542
for defect 2989912,
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 10:10:47 +00:00
mxi1
ec11964907
for defect 3031489,
...
expr is not installed on redhat6 by default, so I removed expr form statelite script
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 08:31:42 +00:00
jbjohnso
3ac28157fe
-Fix syntax error in imgutils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-16 17:18:21 +00:00
jbjohnso
538321af59
-Add screen to RHELS6 KVM profile for sake of rcons
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6779 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-16 17:17:53 +00:00
jbjohnso
1c9077e86b
-Rename the kvm rhels6 package list file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-16 17:17:28 +00:00
daniceexi
270c172a9a
add the dracut directory for fedora
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 11:57:16 +00:00
daniceexi
7e3c59da89
add the expr for fedora when create the statelite initrd
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 11:45:27 +00:00
daniceexi
902c4711de
add the pkglist for fedora12/13
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 11:41:12 +00:00
daniceexi
b513d32ed6
Fix the statelite remount issue to make the / to be read only
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6743 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 11:30:30 +00:00
mxi1
9bfcd7fb65
update the code for "STATEMNT=" parameter in xcat-prepivot.sh
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6742 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 10:25:51 +00:00
mxi1
2ef5d53f9c
for defect 3017528, seperate the "xcatdsklspost" from gettyset,
...
and also put xcatdsklpost to xcatpostinit, which works for both redhat and sles
thanks, Andrew(st-an-v)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 09:57:05 +00:00
mxi1
a6d8825046
move xcatdsklspost from gettyset to xcatpostinit on redhat,
...
will do the samething later
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 08:14:16 +00:00
mxi1
ce0393fcb3
remove one unused variable - rwfiles
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 03:22:24 +00:00
mxi1
37965fe104
one "fi" is missed
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-14 02:49:20 +00:00
mxi1
56e025c82d
remove the definition of get_package_names() from genimage of fedora12 and suse
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6689 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-09 09:39:31 +00:00
mxi1
950f31d806
imgutils::get_package_names() is used now
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6688 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-09 09:36:36 +00:00
mxi1
829df7a25e
move get_package_names and include_file to imgutils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6687 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-09 09:33:48 +00:00
mxi1
17731a33ec
for defect 3012545,
...
"netboot/imgutils/imgutils.pm" is created to hold all the functions used in different "genimage" commands;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6683 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-09 06:19:30 +00:00
phamt
44ede45b1c
Updated genimage code to get subchannels for a given interface
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6664 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-07 16:00:16 +00:00
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