2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

57 Commits

Author SHA1 Message Date
chenglch
69fff6a31e Load the cryptmethod in the passwd table to generate the password
sha256 and sha512 crypt methods are supported from glibc 2.7 version.
This patch enable the crypt feature on linux system and encrypt the
password with sha256 by default.

implement: #1890
2016-11-22 13:10:41 +08:00
Mark Gurevich
db9a71750e Fix sytax errors reported by perltidy 2016-07-25 08:56:18 -04:00
Mark Gurevich
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
frey
477bd80752 Altered statelite behavior w.r.t. /etc/mtab on RHEL7 distros 2016-06-16 16:00:15 -04:00
immarvin
4114a4f6a9 fix some codeing style problems 2015-08-28 03:29:09 -04:00
immarvin
81409e1899 use pigz instead of gzip in liteimg 2015-08-28 02:56:26 -04:00
Casandra Qiu
ef1556e494 Fix the misuse of == to compare strings in perl 2015-02-05 12:04:42 -05:00
Jarrod Johnson
471d947171 Implement bittorrent support for RHEL stateless/statelite with ramfs 2014-05-15 10:23:48 -04:00
immarvin
55f981ea47 liteimg use rc.statelite instead of rc.statelite.ppc.redhat for rhels6.5.ppc64 statelite 2013-12-12 02:15:24 -08:00
daniceexi
b173de4f13 add comment for why the /etc/mtab needs special case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16277 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 02:19:49 +00:00
daniceexi
57e42eaccc 3543: fixed the issue that /etc/ cannot be set to tmpfs. It was caused by the /etc/mtab which is a speicfic file which is needed for mount command.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16230 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-09 02:43:30 +00:00
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