jbjohnso
8cd38a0c7f
Fix older RHEL5 stateless
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-03 20:17:25 +00:00
bp-sawyers
5bda5a1df6
Check in Arif's changes for debian/ubuntu support. Not all patches applied yet.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-02 09:50:17 +00:00
mxi1
7b9fa084c0
for defect 3168785, add code for statelite comptiable reason.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8917 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-24 08:04:45 +00:00
ligc
d4ad412781
system x SLES 11 SP1 support, stop udevd before chroot to rootimg
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8914 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-24 02:55:39 +00:00
mxi1
b6cd3ca5bf
for defect 3178022,
...
added the full path of "mkdir" command in rc.statelite files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-17 09:24:21 +00:00
ligc
ae310c716e
system x support for SLES 11 SP1
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8870 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-17 07:13:23 +00:00
jbjohnso
e748077621
Put hostname -s for rc.statelite
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-07 16:02:03 +00:00
jbjohnso
4ee56c560f
-Do not require fsck for stateless/statelite
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-07 13:21:43 +00:00
mxi1
eaed423ead
removed the debug switch ("-x") from the xcatroot bash script.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8674 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-17 03:05:06 +00:00
daniceexi
0c194d45fb
Fedora14 support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8640 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-13 09:04:22 +00:00
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
93db0c579b
rename "rh5" to "rhels5" for the sample files
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-22 06:24:40 +00:00
mxi1
df548ce77a
added the sample files for rhels6 diskless service node
...
also, removed the rhels5.3, rhels5.4 files, and added them for rhels5
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8501 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-22 06:21:31 +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
680a09572e
the code to generate ifcfg-ethx files has been moved from rc.statelite to the enablekdump script
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8437 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-16 09:36:17 +00:00
mxi1
a11dac9e1c
Merge branch 'rhel'
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8411 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-15 08:37:32 +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
fb867bc6b8
removed the sleep time interval before litefile and litetree commands
...
replace /sysroot with $NEWROOT in rc.statelite and rc.statelite.ppc.redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-24 03:29:17 +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
mxi1
3822bfc406
Squashed commit of the following:
...
update the code to handle the scenario when both the parent and child directory exist in the litefile table
remove one line from xcat-prepivot.sh
updated the manpage for litefile
the statelite document is updated
/etc/mtab is added as one default entry when "litefile" or "ilitefile" commands are running, even it is not in litefile table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8100 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-09 12:49:55 +00:00
mxi1
eb7a1b66c3
merge the code change to rc.statelite.ppc.redhat
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8081 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-06 07:51:34 +00:00
mxi1
7ccb6dc32e
add code to support "/var/" and "/var/tmp/logs" as parent&child directory;
...
some bug fix in rc.statelite
fix one bug when recovering the files in litefile.save
update the example for parselitefile subroutine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8080 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-06 07:36:48 +00:00
mxi1
d6a37d7277
Squashed commit of the following:
...
remove two echo in xcat-prepivot.sh;
the stateltie script is updated,
two typos in the manpage of litefile table are fixed;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7935 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-27 03:28:15 +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
mxi1
3a928b23b7
for defect 3090498, remove two unused variable in sles.pm;
...
for defect 3091772 and 3091775, two errors in sles genimage.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7898 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-21 08:02:24 +00:00
mellor
ab5b2ca9df
bundle file and pkglist updates to automatically install perl-DBD and ODBC rpms on service nodes
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7767 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-10-06 19:05:26 +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
mxi1
8b22241384
The litefile options have been updated to what we wished in design;
...
also the documents related with "statelite" and "genimage" are updated;
the description for "litefile" options are updated in Schema.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7527 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-20 17:16:25 +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
linggao
eabd2ed67d
bug fix
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7506 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-17 17:33:51 +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
a6f6a92f56
one typo in rc.statelite is fixed
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7445 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-14 09:25:43 +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
cb923e17c8
update the sample data for rhel5.x,
...
also fix one defect when the litetree table is empty
also replace "hostname -s" with "hostname" on redhat5.5 of ppc64 platform
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7373 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-07 12:16:52 +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
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