daniceexi
7a15992239
defect 3324448: generate the ifcfg-x configuration file when running genimage -i, but keep the ONBOOT=no to skip the break of nfs-based system
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-15 11:14:59 +00:00
linggao
9d4eb67d0e
added genimage plugin
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10035 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-07 16:10:53 +00:00
angli-xcat
44c01cb949
This is to enable group install for .pkglist file
...
===========================================================
Target Dist: SLES 11, RHELS6, both for stateless
Aim: To Support "group" format of .pkglist file
e.g.: "@ X Window system" (for RHELS6)
"@ file_server" (for SLES11)
user impact: N/A
By-effect: N/A
Limitations: N/A
Note: Note there's a space after "@"
============================================================
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-06 09:15:36 +00:00
daniceexi
781c652667
defect 3324179: excluding files but keeping the directory in the *.exlist for directories locale and man
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10003 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-04 07:00:58 +00:00
linggao
4c638bd8d4
genimage changes to not save the default kernel version.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9928 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-24 16:22:15 +00:00
lissav
a12c2b5a3d
fix for defect 3324448, remove pmr fix
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9888 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 14:29:38 +00:00
jbjohnso
ba2821b018
Port forward fix for netstart issue with RHEL statelesess
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-21 19:31:16 +00:00
daniceexi
1034d25033
Fix the issue that genimage has typo in mount -o option
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9865 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-21 02:58:55 +00:00
lissav
fba13de72f
fix defect 3315725
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-13 16:49:44 +00:00
angli-xcat
3a028e762f
some minor fix for my last commit
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-13 06:23:25 +00:00
angli-xcat
c28d4a87f1
This is to enable client to indicate options when mounting persistent directories on statelite(nfs/ramdisk) CNs, if not, "nolock,rsize=32768,tcp,timeo=14" will be used as default options. This implementation aims for RHEL6. SUSE to be implemented later.
...
client can revise the statelite table to benefit from this, like:
#node,image,statemnt,mntopts,comments,disable
"935n02",,"192.168.0.244:/tmp","soft,timeo=200",,
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-07 08:59:53 +00:00
daniceexi
e9ecdfb61d
The nfs should be included in the initrd for stateltess since it will be used for statelite ramdisk mode
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9702 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-27 03:00:05 +00:00
daniceexi
30cb2e9366
defect 3203276: make the genimage get the additional kernel from rpm package instead of extracted files
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9691 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-26 16:24:17 +00:00
jbjohnso
dc0f504997
-Make url parsing greedy so as not to be confused by too many colons
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9318 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-14 18:56:00 +00:00
jbjohnso
0c4ddfc077
Add virtio_net to default driver list for RH family
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-14 14:18:40 +00:00
mxi1
dd26e8d03f
for defect 3203276 and 3170932,
...
added a new attribute ("kerneldir") in linuximage table;
The 3rd-party kernel rpm package should be installed into the kerneldir.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-28 07:39:59 +00:00
mxi1
4175e33d5c
Merge branch 'imgcapture'
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-22 08:36:11 +00:00
mxi1
05882d7e80
added two .imgcapture.exlist files for rh/sles;
...
updated the manpage of "imgcapture";
improved the output of "imgcapture";
added one option to "imgcapture" to support imgname;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9113 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-21 06:31:21 +00:00
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
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
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
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
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
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
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
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
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