Commit Graph

46 Commits

Author SHA1 Message Date
daniceexi
a8a4a10263 move the localdisk mount point creating to genimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16105 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-27 08:03:10 +00:00
ligc
0e92da0f5f for encrypted system password in passwd table, the SHA256 and SHA512 encrypted passwords could be automatically recongnized
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14874 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-14 14:56:44 +00:00
daniceexi
75ca53396d add the option check for litefile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 06:32:46 +00:00
daniceexi
e47dc2635d add the option check for litefile
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 05:31:08 +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
wanghuaz
36efc5d93f handling multiple exlist in packimage and liteimg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14147 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 12:39:54 +00:00
jjhua
cca1e68ad8 enhance packimage/liteimg to copy /install/postscripts into the diskless images as /xcatpost
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 02:51:23 +00:00
zhaoertao
40e144b4cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
jjhua
16be33214a For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12891 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-23 05:57:41 +00:00
wanghuaz
afff5fa64b Adding synclist support for statelite and also adding synclists support for user customized imagenames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-19 08:01:57 +00:00
zhaoertao
afee4b8d4e the item that default password for various configuration in passwd table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-21 06:45:37 +00:00
daniceexi
79683084e5 defect 3441169: Using the rc.statelite.ppc.redhat to replace rc.statelite for rh5,6 ppc64
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11095 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-01 01:37:48 +00:00
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