Commit Graph

34 Commits

Author SHA1 Message Date
linggao
f13ee60357 make sure osimage.provmethod=statelite when calling liteimg command, defect 3409362
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-19 21:08:09 +00:00
mellor
592a67639c added include_file subroutine to statelite.pm copied from packimage.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10408 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-31 12:11:14 +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
mxi1
f18334b0de for defect 3180167, some children files/directories are lost when the "liteimg" command is running.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-22 07:24:28 +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
16b219091a Modified some outputs for the "liteimg" command, made it more readable.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-14 07:04:12 +00:00
mxi1
9d2e5f5608 Merge branch 'statelite'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-30 09:25:14 +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
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
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
jbjohnso
be376df166 -Stricter umask around /etc/shadow modifications
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7474 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-16 13:41:16 +00:00
mxi1
89c9b957fc one bug fix for liteimg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7454 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-15 02:54:26 +00:00
mxi1
e5296f6d57 one bug is fixed for handling subdirectories
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-15 16:15:58 +00:00
mxi1
359f69fbc4 fix one bug for /.statebackup directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-13 10:27:29 +00:00
mxi1
4f80ea942c "cp -a" can't copy the files with "." as the prefix,
and "cp -r -a" can do it.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 11:05:38 +00:00
mxi1
4fabfcb8a9 change the condition to use rc.statelite.ppc.redhat
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-19 08:22:48 +00:00
mxi1
9813d28280 update the help message for liteimg command according to the defect 3016382
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6647 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-06 06:33:21 +00:00
mxi1
1e2a27663c add one new rc.statelite file for rc.statelite.ppc.redhat,
on redhat5.x PPC64, we need to use "chroot" to run "openssl" command, or else, it will fail without any output


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6428 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-11 08:16:30 +00:00
mxi1
385f260dc6 for defect 3014222, add the correct output for the "liteimg -h" command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6426 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-11 07:18:35 +00:00
mxi1
cd566a825c add one limitation to the options in litefile table, when both one directory and its sub-items are in the litefile table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6353 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-04 09:39:17 +00:00
mxi1
baa81721b9 the verbose value is changed to 0 by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6236 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-26 08:12:55 +00:00
mxi1
7a9c2cceb7 update statelite.pm to support both directory and its sub-items in "litefile" table;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6232 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-26 07:55:36 +00:00
mxi1
9c9feda909 -defect 2992985 is fixed;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5968 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-05 08:09:28 +00:00
mxi1
e4659804dd -defect 2989257 is fixed;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-20 03:27:13 +00:00
mxi1
c980175be7 if the file with bind option doesn't exist in the rootimg, we should create one
which is the fix for defect 2979871


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-16 03:16:41 +00:00
mxi1
c92210b1ef -the defect 2987733 is fixed;
if the entry with one name ended with "/", "-l" should be used to detect whether it is a link or not


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-16 01:40:33 +00:00
mxi1
688cfffe51 -defect 2979119 is fixed;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-31 12:35:45 +00:00
mxi1
9658788864 add code to enchance the litimg command, if the entry is changed/removed from the litefile table, or some file are replaced in the root image, the code can both handle them now
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-11 07:03:56 +00:00
linggao
8eabe3293a bug fix for statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5394 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-05 22:04:11 +00:00
mxi1
aeae30cc5b -two new optins: bind and bind,perssistent is added for the statelite mode support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-25 14:52:57 +00:00
linggao
2d909fef9d more support for statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-19 18:39:56 +00:00
linggao
cba42170fe more statelite work for SLES
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5207 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-11 02:24:48 +00:00
vallard
33f84c6b8c added statelite support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-15 20:38:34 +00:00