mxi1
b11687c421
the code to enable statelite semantics on top of ramdisk is here:
...
there's one new attribute called "rootfstype" for the osimage;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-06 06:54:06 +00:00
mxi1
9f6781f316
for defect 3139537;
...
fixed the defect to handle the relative path related with "../add-on/statelite/rc.statelite".
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-21 03:22:09 +00:00
mxi1
dd661c6aa0
code is committed for kdump feature
...
the "dump" attribute is added for the linuximage table
/install/kdump/tmp directory will be created by default when xCAT rpm package is installed;
the "enablekdump" postscript is added for kdump feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-14 07:15:45 +00:00
mxi1
f159080112
use FindBin module to resolve the relative lib path.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-13 06:59:31 +00:00
mxi1
1cb5bdb0d7
the code to handle ifname/netdev/BOOTIF is updated;
...
also, when the node is booting up, one file named "ifcfg-ethx" will be created for redhat6.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-23 12:15:54 +00:00
jbjohnso
18b2a0d8aa
-Restore resolv.conf preservation in RHEL5 stateless
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-09 18:41:22 +00:00
linggao
44be87bb74
made permission for / on stateless node to be 755
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-26 15:03:32 +00:00
phamt
f143dae32f
Added network drivers for s390x. Change nodeset command for zVM to handle the new name of initrd-statelite.gz.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7743 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-04 16:12:34 +00:00
mxi1
152777a64e
update the code to handle the kernel in genimage
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-27 09:09:50 +00:00
mxi1
9ce6102a4a
for defect 3072164,
...
move the code related with kernel selection out of "unless($onlyinitrd)" block.
the code for sles and redhat is all udpated.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7639 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-25 09:54:06 +00:00
jbjohnso
ed66c9013c
-Fix errors in BOOTIF handling and RHEL5 stateless/statelite image network bringup
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7577 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-22 15:08:16 +00:00
linggao
d3b2c73a23
bug fix
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 18:12:25 +00:00
mxi1
444bdd0b8e
the code change for genimage enhancement is here
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 09:54:47 +00:00
mxi1
18ba59ac23
rollback the Schema.pm, xcatroot and genimage to r7384
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7392 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:54:48 +00:00
mxi1
8acae38e0e
the code for updating linuximage and osimage tables is completed now
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:20:27 +00:00
mxi1
1e087336bf
change the policy to update the tables
...
many variables are added
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7389 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:19:50 +00:00
mxi1
74b5516de5
formatting
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:19:11 +00:00
mxi1
d015c002e6
added the code for updating linuximage table in genimage
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:18:24 +00:00
mxi1
66c6d5fedd
mkinitrd_dracut and mkinitrd can generate two different initial ramdisks, one is initrd-statelite.gz, the other one is initrd-stateless.gz
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:17:39 +00:00
mxi1
cd9ad4b94f
nodebootif, otherifce, permission are added into Schema.pm;
...
change the code to mkinitrd() and mkinitrd_dracut()
what to do next is to update the linuximage table in genimage code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7385 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-09 08:16:58 +00:00
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
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
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