Commit Graph

241 Commits

Author SHA1 Message Date
mxi1
246e52bbf5 for defect 3058180,
"-k <kernelver" works well for redhat right now

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-06 07:04:26 +00:00
lissav
f8fb4ce965 fix paths that point to incorrect arch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-26 15:10:19 +00:00
mxi1
7fe5f0716b In the postinstall files, I comment all the code for handling /etc/fstab,
instead, I add the code into the genimage code,
the code has already been in genimage code, but not completely. 


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7219 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 08:29:52 +00:00
mxi1
0feee7a7b8 update the sleep time from 20+random%30 to random%50;
and if it can not get the litefile table or litetree table from xCATd on the management node, it will fail into shell, and also echo one error message


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7216 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 03:08:52 +00:00
daniceexi
24fd95b6e7 Create the temporary directory for the driver update disk with ramdom dir name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-23 08:00:51 +00:00
jbjohnso
47c6322b87 -More IPv6 stuff for esxi (implement prototype DUID-UUID)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7168 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-20 13:04:40 +00:00
jbjohnso
751b49dc62 -Try to do DHCPV6 and V4 by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7152 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 16:02:04 +00:00
jbjohnso
e43e735b8f -Splash didn't fit
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7151 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 15:30:23 +00:00
phamt
52fdb2a246 hostname -s will not work on boot for SUSE nodes. Added conditional statement to use hostname if it is a SUSE node.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7150 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 15:27:30 +00:00
jbjohnso
f18d074ba0 -Change the splash
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7149 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 15:14:54 +00:00
mxi1
67126f0ad2 fixed on defect on persistent*) option
when one file/directory is copied to the persistent directory, need to check whether the parent directory exist in the persistent directory or not.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 14:42:31 +00:00
jbjohnso
64e6de14b5 -Enable TSM and show a little xCAT message on VTY1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 14:40:41 +00:00
jbjohnso
7fd329602e -Only enable ipv6 in esxi 4.1.0 for now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7144 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-19 13:18:23 +00:00
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