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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
linggao
0be60e14a1
big fix
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5783 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-15 18:31:46 +00:00
ligc
313fbd9fb1
add ppc64-utils into pkglist to enable the setbootfromnet
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5707 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-08 01:21:32 +00:00
ligc
cb1f062faa
add ppc64-utils into pkglist to enable the setbootfromnet
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5706 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-08 01:19:20 +00:00
jbjohnso
dd4f8163ac
-Check in stateless xen profile
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5632 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-31 14:36:10 +00:00
mellor
156f6c1be2
fixes to genimage for NEW_INSTALL_LIST processing
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5618 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-31 00:53:54 +00:00
jbjohnso
02a8160c56
-Have genimage pull in driver deps automatically rather than require user to know what is going on
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5612 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-30 15:49:46 +00:00
jbjohnso
061e8b657c
-Preserve vmlinuz in root image on genimage
...
-Improve kernel version autoselection to tolerate modules compiled against different kernels
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5611 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-30 15:18:31 +00:00