besawn
de7ba39286
Modifed packimage timezone logic to preserve two levels of links
2021-12-08 09:32:41 -05:00
besawn
7e6303a85b
Print warning from packimage when timezone setup fails
2021-12-01 09:14:37 -05:00
besawn
d86b454baf
Print informational message from packimage when site table timezone is not set
2021-11-30 13:13:02 -05:00
besawn
85a5df22f5
Modified packimage to always include the local zoneinfo time zone file
2021-11-30 12:44:58 -05:00
Mark Gurevich
16ea67622b
Make /etc/localtime a link
2021-09-13 14:27:54 -04:00
cxhong
1e62c7f2ec
Use xcat runcmd instead of system() call for mksquash command
2020-07-22 18:15:10 -04:00
Mark Gurevich
be359b1899
Testcase and packimage fixes for squashfs
2020-04-30 13:58:35 -04:00
Mark Gurevich
53d3d915d1
Make sure squashfs installed on SLES for squashfs testcase
2020-04-29 14:17:51 -04:00
Mark Gurevich
72cf0e15d3
Fix flags for squashfs for centos
2020-04-21 09:37:23 -04:00
GONG Jie
6a60514ce2
Remove trailing spaces in file xCAT-server/lib/xcat/plugins/packimage.pm
2017-12-31 23:59:59 +00:00
cxhong
dcaa21aa13
Support multiple syncfile list for packimage process ( #5524 )
2018-08-17 11:01:55 +08:00
yangsong
c49e41da99
support environment variables in osimage customized files ( #5281 )
...
* * osimage table schema change: add a "environvar" col in osimage table to hold environment variables used in osimage customized files
* osimage object schema change: add a environvar attribute, which refers to osimage.environvar
* the environment variables specified in "environvar" attribute will be exported during invocation of postinstall scripts in genimage
* support variables in synclists
* support environment variables in genimage,mkinstall,getpostscript
* support environment variables for xdcp -i -F in packimage
2018-06-15 14:51:41 +08:00
Bin Xu
18c5afc0f4
support secure root method ( #5286 )
...
- support xcat_secure_pw:<user> API in credential plugin
- for diskless, if enabled secure root, packimage will not write root password into image
- for stateful, if enabled secure root, nodeset will not write root password into config file
- and 'remoteshell' will update shadow file accordingly
2018-06-15 10:28:51 +08:00
Bin Xu
7a69c9b779
using --nosyncfiles to bypass syncing files to root image directory ( #5229 )
2018-05-22 12:47:37 +08:00
yangsbj
dad1f72fdc
fix issue Non-root user can not run ping on ubuntu 14.4.4 diskless #5227
2018-05-21 00:51:32 -04:00
yangsong
668a00bd71
Revert "[CUSTOMER] Ping not working for non root users on Diskless PowerKVM guests (rhels7.2) #922 : use tar as the default archive method instead of cpio ( #5187 )" ( #5221 )
...
This reverts commit 2bf5dc57f9da2b72e80106026dd13f71774ff476.
2018-05-17 11:20:55 +08:00
yangsong
2bf5dc57f9
[CUSTOMER] Ping not working for non root users on Diskless PowerKVM guests (rhels7.2) #922 : use tar as the default archive method instead of cpio ( #5187 )
2018-05-10 16:26:42 +08:00
immarvin
873b58ee7a
remove the /etc/localtime before copy timezone file
2017-12-14 00:57:10 -05:00
Yuan Bai
f61a794da8
enhance packimage ( #3919 )
2017-09-14 17:34:24 +08:00
immarvin
8686edb86d
fix issue [CUSTOMER] Stale rootimg.gz file left in the rootimg dir caused node boot failed. #2225
2016-11-29 21:54:18 -05:00
yangsong
223b3305ef
Merge pull request #2168 from chenglch/cryptmethod
...
Load the cryptmethod in the passwd table to generate the password
2016-11-22 00:14:17 -06:00
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
immarvin
907c4971a9
fix issue [CUSTOMER] the old diskless image built by xCAT can not be used after xcat 2.12.2 #2130
2016-11-17 03:31:30 -05:00
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 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