2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 01:26:38 +00:00

44 Commits

Author SHA1 Message Date
penguhyang
d4a397adce support tar for redhat6.8 2016-08-15 02:40:23 -04:00
immarvin
5699b025dd fix issue [FVT]on rhels6.8, rootimg.tar.gz is only 20 bytes after run packimage -m tar rhels6.8-ppc64-netboot-compute ; fix issue #1689 [FVT]:diskless provision broken using rootimg.tar.gz created by packimage -m tar osimage #1688 2016-08-13 00:30:56 -04:00
penguhyang
79426ad21e add new option to indicate compress method (#1669) 2016-08-11 03:09:43 -05:00
penguhyang
c672699571 fix genimage failed on rh6.8 (#1631) 2016-08-04 14:35:45 +08:00
penguhyang
5cd203cdf5 enhance packimage -m txc (#1602) 2016-08-02 16:45:31 +08:00
penguhyang
5d46d48f6a Fix issue of packimage -m txc (#1554)
* redefine the code to make distint

* fix issue of packimage -m txc
2016-07-20 07:06:33 -05:00
penguhyang
797a64131b add syslog module to realize the log forward 2016-07-19 22:43:42 -04:00
immarvin
05c90d4c47 fix issue [Customer]initrd stuck in loop and fails to get rootimg.gz for stateless image. #921 @github;use /install/postscripts/updateflag.awk as the script to report status in diskless and diskful provision 2016-07-02 22:06:41 -04:00
Jarrod Johnson
179cc00708 Provide 'txc' mode for packimage
tar.xz files will preserve an increasing number of things cpio will
not.  For now, implement for EL7 type oses to explore before making
it more widespread.
2016-02-01 11:08:11 -05:00
immarvin
c778b849e9 replace ifconfig with ip 2014-06-14 08:52:44 -07:00
Jarrod Johnson
471d947171 Implement bittorrent support for RHEL stateless/statelite with ramfs 2014-05-15 10:23:48 -04:00
daniceexi
23b836102a defect 3135: changed the mount process for the statelite directory (for persistent entries) that make a directory after the node name and remount to the nodename directory instead of nfs root dir for persistent 2014-01-08 05:00:32 -05:00
immarvin
565f67b9fe update node provision status based on the feedback of nodes instead of rpower/rnetboot 2013-08-16 02:00:23 -07:00
immarvin
988da99f89 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 20:31:29 -07:00
immarvin
c8ca832460 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 20:29:27 -07:00
immarvin
e918aa27a4 update the nodelist.status to installing/netbooting via feedback from node during provision 2013-08-15 20:27:20 -07:00
daniceexi
7b70df4161 run localdisk in stateless
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16106 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 08:04:47 +00:00
immarvin
38b5874b32 add "-l" option support of genimage in dracut mode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-22 08:35:36 +00:00
daniceexi
427b66827f Code drop for local hard disk to be used as persistent storage for statelite node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-16 14:02:36 +00:00
ligc
d77845f04e fix for bug 3523175: use nfsv3 to mount the statelite directories
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 04:31:35 +00:00
bp-sawyers
a42f007217 Checked in fix by xiao peng for bug 3414725 - diskless root directory has bad fileperms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10698 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-04 18:09:24 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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