2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-01 19:17:06 +00:00

52 Commits

Author SHA1 Message Date
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 8f7633c9b55520f7b5cf88eedd4d523c01c6ec6c 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
linggao
a8e15167a2 osimage phase3: use osimage table settings updatenode (otherpkgs)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-02 18:55:54 +00:00
linggao
0cc7ee9f5f osimage phase2: genimage and packimage honor osimage table settings
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4217 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-24 18:51:53 +00:00
linggao
9524a49273 added support to update the osimage and linuximage tables after copycds and packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4173 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-19 17:03:14 +00:00
daniceexi
227f6bdcf4 move the getsynclistfile() from Utils.pm to SvrUtils.pm; move the syncfiles() from Postage.pm to syncfiles.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-22 05:59:11 +00:00
daniceexi
677047fe75 The code drop of Syncing File function
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 13:08:51 +00:00
linggao
2ce463ab83 added logic so that user can specify what files to keep in a excluded dir in *.exlist file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3409 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-19 18:56:27 +00:00
linggao
a6a3fef0af added umount to remove the mount on rootimg/proc in genimage and packimage, made two calls to zypper instead of one call so that os gets installed first before other packages.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-23 19:12:33 +00:00
mxi1
c94e676f59 -bug#2740264, add the warning message if there's no exclusion list file;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3191 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-14 15:51:20 +00:00
mxi1
6f0bb2840b -Bug# 2636011 is fixed; one check point is added; to handle the condition where there's no arg passed to packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3184 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-14 02:54:48 +00:00
mxi1
58b5084841 -bug 2740264 is fixed; add code to check whether the exclusion file exists, use if it is not there, ignore it if it is not there.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-13 14:39:55 +00:00
jbjohnso
40136d4461 -Fix problem where squashfs stateless didn't accomodate non-root users
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-09 22:51:57 +00:00
lissav
456b15b51a fix spelling of finde in msg
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2265 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-30 14:28:03 +00:00
linggao
9502050fec changes for first using /install/custom/.. directories for seaching the package list and template files for mkinstall and packimage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-12 22:40:15 +00:00
sikorsky
65af2acb5d Accept comments in {profile}.pkglist and {profile}.exlist.
This can be useful to mark what is which package for, who requested it etc.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-10 14:16:15 +00:00
lissav
58ea144016 add call to Utils->Version
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-07 18:29:55 +00:00
jbjohnso
565013ea91 -Use find -path syntax to tolerate RH4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-01 14:14:27 +00:00