jbjohnso
769e08fca4
-Auto-enable ipv6 in esxi
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7143 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 13:15:57 +00:00
phamt
5bc53f2fe4
Fixed error in rc.statelite: /sysroot/etc/init.d/statelite: line 326: [!: command not found
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 01:29:28 +00:00
phamt
aaa6317e03
Handle case where the Linux distro copied is sles[xxx]sp[yyy] (e.g. sles11sp1), where xxx is the version and yyy is the service pack. In the case above, the genimage command will not recognize the Linux distro and give an error.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7115 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 23:35:09 +00:00
mxi1
021457531b
from now on, the entries in "litetree" table are no longer restricted to use different mnt point name; for example,
...
The "litetree" table has the following entries:
"1","ALL","192.168.11.107:/test/$node",,
"2","ALL","192.168.11.108:/test/$node",,
before the code is checked in, if you run "litetree <nodename>", you should get one message like this:
<nodename>: 192.168.11.107:/test/<nodename>
# 192.168.11.107 and 192.168.11.108 both mount /test. This not supported.
After the code is checked in, there will be no any error/warning message about the entries in litetree table.
Accordingly, the naming of mount points on the compute nodes are updated to "/.statelite/mnt/<nfs server ip>/<nfs directory>/" from "/.statelite/mnt/<nfs directory>/".
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-17 02:57:52 +00:00
mxi1
92b99d0a9d
fix one bug for "FindFile()" function in rc.statelite
...
now, "ls -A ${path}|wc -l" is used to judge whether one directory is empty or not
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7094 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-15 16:06:23 +00:00
mxi1
c9f074bb4d
in order to support diskless SLES11 on P7, all the file in /lib64/ will be copied to /tmp/initrd.$$/lib64/
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-13 09:09:06 +00:00
mxi1
a58b3eee52
bug 3042361 is fixed;
...
And also, added the code to retry if the "litefile" or "litetree" command gets nothing from xCATd on MN/SN;
use "tcp" as the default nfs option instead of "udp"
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-13 02:42:39 +00:00
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