4114a4f6a9
fix some codeing style problems
2015-08-28 03:29:09 -04:00
81409e1899
use pigz instead of gzip in liteimg
2015-08-28 02:56:26 -04:00
ef1556e494
Fix the misuse of == to compare strings in perl
2015-02-05 12:04:42 -05:00
471d947171
Implement bittorrent support for RHEL stateless/statelite with ramfs
2014-05-15 10:23:48 -04:00
55f981ea47
liteimg use rc.statelite instead of rc.statelite.ppc.redhat for rhels6.5.ppc64 statelite
2013-12-12 02:15:24 -08:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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