2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-07 09:25:12 +00:00
Commit Graph

68 Commits

Author SHA1 Message Date
immarvin 1ebdb5d96c add lock in rh/genimage to avoid multiple genimage processes on same rootimg directory;add guard code before umount/remove mount points under rootimg directory 2016-11-03 03:32:12 -04:00
penguhyang 6d0bf02cfa fix return code is 0 when there are errors (#1763) 2016-08-25 14:48:23 +08:00
penguhyang fd747d5fc6 give warnings and return when use -o -p -a for packimage (#1757) 2016-08-25 11:10:27 +08:00
penguhyang c93b215c2c fix sles11.4 packimage return error when use tar compress method (#1743) 2016-08-24 12:13:36 +08:00
penguhyang c4a536a18f use the same way to promote error msg (#1749) 2016-08-22 00:39:09 -05:00
penguhyang d4a397adce support tar for redhat6.8 2016-08-15 02:40:23 -04:00
immarvin be77e5f43f fix issue [DEV] it is ambiguous to determine which compressed rootimg to use among rootimg.tar.gz,rootimg.cpio.gz,rootimg.tar.xz... #1695; update the manpage and usage info of packimage 2016-08-13 02:53:05 -04:00
immarvin e1775355f5 refine the tar options 2016-08-12 21:11:48 -04:00
penguhyang d44176f1d1 update code of packimage (#1685) 2016-08-12 01:46:52 -05:00
penguhyang 79426ad21e add new option to indicate compress method (#1669) 2016-08-11 03:09:43 -05:00
penguhyang 180c3fc0c7 add more output msg for packimage (#1622) 2016-08-03 13:59:07 +08:00
penguhyang 5cd203cdf5 enhance packimage -m txc (#1602) 2016-08-02 16:45:31 +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
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
Casandra Qiu 3b9eddc6d2 Add uuid into /opt/xcat/xcatinfo 2016-06-13 14:40:50 -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 4114a4f6a9 fix some codeing style problems 2015-08-28 03:29:09 -04:00
immarvin 5e03ebc498 use pigz to improve the performance of genimage/packimage 2015-08-28 00:09:05 -04:00
ligc 2a107425ea not sure what happended, fix the bad checkin 8f7633c9b5 2015-05-14 04:00:58 -04:00
ligc 8f7633c9b5 remove the install/netboot/statelite from the usage statements of nodeset, imgcapture, genimage and packimgage 2015-05-14 03:55:42 -04:00
immarvin 4e9ee2bbdc add kdump support for redhat7 stateless 2014-08-24 22:30:39 -07:00
Jarrod Johnson 471d947171 Implement bittorrent support for RHEL stateless/statelite with ramfs 2014-05-15 10:23:48 -04:00
jjhua feda4dddbb fixed bug 3683. In rhels 6.x, the mksquashfs doesn't have the -le and -be options.
for sles, the mksquashfs is in /usr/bin/ .
2013-10-14 12:33:55 -04:00
jjhua 7ab0cf1ffd add the image name and timestamp into diskless image when it is packed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15434 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-08 06:07:30 +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
lissav cf5d31d33f remove copy of xcatdsklspost.aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14523 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-03 17:41:53 +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 940b7aef40 add prefix path for genpassword
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13549 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 04:35:15 +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
jbjohnso db1e95f0c8 Have packimage skip mounted filesystems (e.g. proc, sys, etc that might be accidentally hanging around).
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12235 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-14 14:19:34 +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
linggao 7260f1697a fix defect 3323266
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 20:38:25 +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 ce595f8c28 revert back
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8410 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-15 08:36:53 +00:00
mxi1 e562c7fcc7 introduced the new option: "mixed" into packimage.pm.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8408 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-15 08:35:44 +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
linggao 354dd7bcb0 bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-11-19 19:05:41 +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
linggao 76a472c98b removed the xcatpostinit from packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-07 19:42:44 +00:00
linggao 193abe24c1 bug fix for packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5820 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-19 19:17:35 +00:00
linggao a554209347 big fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-15 13:06:52 +00:00
linggao 4fb276fb28 added #INCLUDE support for exlist files for packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5703 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-07 15:14:29 +00:00
cjhardee 4c29c0e054 Stateless images were not getting the timezone from site.timezone like stateful images were. Now it's being copied to /etc/localtime. Tested with RHELS5.4.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5661 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-04 04:01:05 +00:00
daniceexi 3231d29244 defect 2948337: use getInstallDir to get install dir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5272 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 08:06:42 +00:00
linggao 8ff84d74b6 removed debug message from packimage.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 18:24:30 +00:00