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
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
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
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
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
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
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
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
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
mellor
8b7c1098ff
rh genimage update for #NEW_INSTALL_LIST# stanza
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5586 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-25 20:37:00 +00:00
linggao
a2b053d8bd
added support for #INCLUDE tag in pkglist file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5537 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-19 21:12:56 +00:00
mellor
ec968920b8
add zypper/yum update cmds to genimage to update all sw when running genimage against an existing image
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5408 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-08 20:46:07 +00:00
mxi1
9f51962324
update the help message for genimage, --permission is added
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5384 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-05 10:09:03 +00:00
mxi1
93bf5ccbc2
-add permission support for statelite on redhat
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5380 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-05 08:05:47 +00:00
datajerk
3dbde1cdda
Statelite updates.
...
genimage, TCP support
anaconda.pm, //server for absolute path
xnba.pm/pxe.pm addkcmdline #NODEATTRIB support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5324 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-01 16:32:22 +00:00
mxi1
caaa516fa2
-bug #2952723 is fixed;
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5313 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-01 02:18:05 +00:00
mxi1
eea474dea0
add postscript support for redhat statelite mode
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-04 16:32:15 +00:00
vallard
db02438df7
fixed statelite, the xCAT graphic, and mount info
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-15 20:29:50 +00:00
vallard
09c3dfb79c
added statelite options
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4717 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-04 00:53:47 +00:00
linggao
1350e523e0
genimage changes to allow removing packges from otherpkgs.pkglist
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4315 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-06 20:21:11 +00:00
linggao
0cc7ee9f5f
osimage phase2: genimage and packimage honor osimage table settings
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-24 18:51:53 +00:00
jbjohnso
63fd2d2e97
-Fix conditional in previous checkin to be valid bourne shell
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 16:00:57 +00:00
jbjohnso
5e9f971347
-Try a different approach to avoid exceeding inittab legal lengths
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 15:49:18 +00:00
jbjohnso
d458cab430
-Make 'xco' items more specific to cope with multpile console= statements on command line
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-21 15:13:46 +00:00
linggao
3e7235d163
added support for INCLUDE and subdir for genimage for RH,Fedora and CentOS
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3690 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-02 21:41:39 +00:00
daniceexi
3b427eebef
roll back to the last version to remove the sync image implementation
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-29 09:08:14 +00:00
daniceexi
a9e38189f3
Code drop for the Syncing file feature to support that sync file to the root image
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3606 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-19 08:32:47 +00:00
jbjohnso
e35a679556
-Avoid kernel bug in stateless if NUMA SLIT > 20
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-03 20:05:17 +00:00
mxi1
0cf6b5ba9f
1) add [.postinstall] file support to diskless redhat; 2) add pkglist and postinstall file for RHELS5.3, and you can follow it to create files for RHELS5.2;
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-19 06:25:49 +00:00
jbjohnso
092a7333fa
-Have stateless initrd be more persistent in acquiring an address
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-23 14:28:32 +00:00
linggao
8c143d78a6
allow user to add customization of pkg lists under /install/custom dir. more work on installing extra packages in xCAT
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-11 22:03:01 +00:00
linggao
ce5f39f502
more on installing extra packages
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2113 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-09 23:52:04 +00:00