Mark Gurevich
0a3fbd8d51
perltidy all perl files
2016-07-20 11:40:27 -04:00
daniceexi
c94b02d789
defect 4589: fix the issue in genimage.pm that when checking the existence of file in pkglist,otherpkglist,postinstall attributes, the value of the attributes could be multiple files which separated with ,
2015-03-05 22:05:34 -05:00
Victor Hu
0a4c7179c4
Introduced a bug on earlier commit ec9658105909d7d91ad10d60495840a348fe6fef
...
On the checks for pkglist, otherpkglist and postinstall_files,
should make sure the variable is not empty string before seeing if the
file exists
2015-02-24 11:04:37 -05:00
Victor Hu
a632f3186c
For Ubuntu 14.04.2 LTS support, the linux-image-generic is called
...
linux-image-generic-lts-utopic and in the genimage we search for
linux-image-generic pattern and replace with "linux-image-generic"
This causes problems when creating diskless images for Ubuntu 14.04.2
Also creating new pkglist files for diskful and diskless images
2015-02-20 13:45:12 -05:00
daniceexi
8eb652f9b1
Ubuntu/genimage: support multiple local mirror in osimage.pkgdir. The first one will be used to create bootstraps. The procedure to create osimage is: 1. create bootstrap with local/remote mirror; 2. add all mirror in osimage.pkgdir to sourcelist; 3. do osimage update; 4. install kernel; 5 install otherpkgs.
2015-02-12 22:43:03 -05:00
Leo.C.Wu
b55d6bf3b7
fix bug: #4512 nodeset will throw error if osimage pkgdir contains multi-value in ubuntu
2015-01-09 11:25:12 +08:00
Victor Hu
b59f72bd8e
changes to support --noupdate flag on genimage
2014-11-06 16:58:19 -05:00
daniceexi
9fbd6a0f7d
Code drop for new requirement: Add a new flag --ignorekernelchk for nodeset, geninitrd and genimage commands to skip the kernel version checking when injecting drivers from osimage.driverupdatesrc
2013-11-19 06:29:46 -05:00
daniceexi
b18d580dd5
defect 3369: to add the flag -g for genimage command like for sles that make rh could handle the case that the kernel version is different with the name of kernel rpm when using -k to specify a new kernel version.
2013-10-24 08:07:21 -04:00
daniceexi
9f8a003107
check in the code to support the driver injection for stateless: 1. genimage will copy the generated initrd to /tftpboot;2. support nodeset --noupdateinitrd
2013-09-26 03:04:36 -04:00
xq2005
a728938094
add the double quote for --otherpkgdir option in genimage.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16882 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-05 01:57:36 +00:00
immarvin
1d13b5c300
1. fill in the proper value in /etc/sysconfig/clock and set the timezone of the stateless/statelite node with site:timezone
...
2. copy libnss_files.so.2 from directory lib(for 32bit system) or lib64(for 64 bit system) into initrd
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-24 08:33:48 +00:00
linggao
6c4ed80d83
added --dryrun flag for genimage
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16049 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-23 19:16:55 +00:00
immarvin
d1f017ce94
remove geninitrd, use genimage --onlyinitrd instead
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 08:47:48 +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
daniceexi
161cdeb4ec
code drop for the support that loading drivers from driver rpm. The change has affected the code logic for driver disk support.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13246 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-05 14:59:08 +00:00
linggao
de4e245335
added interactive feature for genimage
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12023 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 19:28:49 +00:00
lissav
ef99f0ec7f
change genimage.pm to use runcmd streaming not runcmd_S which is removed
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-24 18:06:14 +00:00
lissav
92e3700612
add streaming to genimage defeict 3374073
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-28 17:03:16 +00:00
linggao
78637396f3
supprt genimage plugin for urbunto, debian and fedora12
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10038 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-07 20:37:55 +00:00
linggao
9d4eb67d0e
added genimage plugin
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10035 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-07 16:10:53 +00:00