Commit Graph

4596 Commits

Author SHA1 Message Date
chudegao
c51cfca5e1 fix feature request 189, support not contain existing postscript in kit 2015-03-11 18:02:31 +08:00
mellor
d009a51b1c defect 4349: update previous fix to rmkitcomp 2015-03-10 17:12:50 -04:00
mellor
8f90acc07c defect 4349: fix rmkitcomp othepkgs dir removal; fix typo in Schema.pm to now display kitcomponent reponame correctly 2015-03-10 14:50:15 -04:00
mellor
551bc0ab11 defect 4494: fix lskmodules to find both *.deb and *.udeb packages 2015-03-10 08:42:27 -04:00
daniceexi
19853bf2d2 Change the code to generate MACADDRESS var in mypostscript. var MACMAC will show the mac.mac. var MACADDRESS will show the installnic which calculated from mac.mac 2015-03-06 05:22:40 -05: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
21caa0d9b9 Bug #4585, in the debian.pm code when we are looking at the pkgdir
directories, the last one was being used.  However, the first one
on the list should be used per man page:

"The first path in the value of osimage.pkgdir must be
the OS base pkg dir path,..."

Fixing to use the first directory specified.

Also fixed a bunch for formatting, space, tab issues...
2015-03-04 14:40:40 -05:00
daniceexi
32753450ae defect 4580: a minor change for the syntax 2015-03-02 21:30:51 -05:00
Victor Hu
30f6a66814 Bug #4518 - extra slash in the symlink when -p option is presented
For sles.pm, clean up the $path variable to remove multiple slash
and trailing slash.

In debian.pm , move the check for -p and -w further down so it does
not appear unless we have decided that debian is the image we are
copying.  The message is misleading when copycds is run for non
ubuntu/debian OSes
2015-03-02 12:38:28 -05:00
daniceexi
350421129d change the default memory size for diskless node to be 4G from 512M 2015-03-02 05:24:08 -05:00
Casandra Qiu
78cdcc04b3 Bug #4580, Parse Mac Address before generate network boot params 2015-02-27 09: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
immarvin
662a62c57a there should be only 1 local package directory speicified in pkgdir attribute, the removed code slice seems unnecessary 2015-02-12 00:24:15 -08:00
jjohnson2
6e4036dafb Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2015-02-11 10:19:44 -05:00
immarvin
9598c45746 add support for online mirrors in pkgdir during provision 2015-02-11 03:12:38 -08:00
daniceexi
35e6a500a8 sles.pm, more code change for installnic/primarynic code refine 2015-02-11 02:52:03 -05:00
daniceexi
a2d89b5d69 Continue the change to refine installnic and primarynic code 2015-02-11 02:31:54 -05:00
jjohnson2
fd4b6db4c7 Remove dead reference to a password
The line in question is dead code, and therefore has no effect
(it either dies or gets overwritten short time later).  Removing
it makes the code cleaner and counters the tendency for someone
to think we might be using a hard coded password in this file.
2015-02-10 14:42:32 -05:00
immarvin
423f007a7f refine the code to use installnic and primarynic to generate network boot kernel parameters. All the logic to use installnic/primarynic have been put in NetworkUtils->gen_net_boot_params 2015-02-10 02:41:35 -08:00
ertaozh
d90a770ef2 To use the refined code about installnic and primarynic for ubuntu 2015-02-10 04:01:54 -05:00
daniceexi
18dfb991c0 refine the code to use installnic and primarynic to generate network boot kernel parameters. All the logic to use installnic/primarynic have been put in NetworkUtils->gen_net_boot_params 2015-02-09 07:02:19 -05:00
jjohnson2
5d963f0fee Recognize more variants of Windows 2012
Windows 2012 R2 and updates can take a number of forms, be more forgiving.
2015-02-05 13:38:00 -05:00
Casandra Qiu
ef1556e494 Fix the misuse of == to compare strings in perl 2015-02-05 12:04:42 -05:00
ertaozh
4dd21f1775 fix bug 4555: lsslp -s PBMC does not honor -n flag 2015-02-05 04:35:16 -05:00
Jia Zhao
a578f264f1 Not run makedhcp during nodeimport 2015-02-05 13:55:30 +08:00
immarvin
e941049b9b add support for online mirrors during provision 2015-02-02 02:13:14 -08:00
daniceexi
d3b729dadc energy.pm - changed the xml output format of renergy command which using energy.pm (p8 support) 2015-01-29 04:00:13 -05:00
chudegao
dbc15d337b Refactor netboot attribute for adding nodes in PCM way 2015-01-29 11:31:34 +08:00
immarvin
1d6ba3646e add support for grub2-tftp and grub2-http as the netboot method 2015-01-28 01:15:23 -08:00
Victor Hu
e4486ca231 Improve the error message for the missing netboot/initrd.gz
on Ubuntu Linux.  This needs to be obtained from the Ubuntu
download site and copied over into the netboot directory.
2015-01-26 11:45:19 -05:00
ertaozh
26d4494c92 fix bug 4533 PMR: kvm vm can't be powered on when vmstoragemodel=virtio 2015-01-23 03:28:46 -05:00
linggao
a887fadd83 Supports multiple SDK cd's for sles in ospkgs and otherpkgs 2015-01-22 15:32:18 -05:00
chudegao
6a703f9ea7 fix 4513 enable root logon permission in remoteshell,4522 support remove os pkgs in ubuntu pkg list 2015-01-22 16:32:03 +08:00
ligc
1b4173456b Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2015-01-20 14:19:43 +08:00
ligc
93e00147f8 fix for bug 4515: start isc-dhcp-server when starting xcatd on Ubuntu MN 2015-01-20 14:19:08 +08:00
Jia Zhao
3b86d90a7c merge from 2.9 about supporting powerkvm in nodeimport 2015-01-20 14:15:07 +08:00
qyin
421a2750f9 fix copycds: on debian/ubuntu doesn't support -o option 2015-01-19 15:26:49 +08:00
Casandra Qiu
58e8a9e0a5 genimage changes to support sles12 diskless on x86_64 2015-01-16 23:35:18 -05:00
ertaozh
dc3fb9d4c9 fix bug 4476: Get "no free leases" when MN and target Nodes are in different subnets 2015-01-15 04:38:20 -05:00
immarvin
7705db6a4f fix defect #4519 [DEV]too much duplicate /etc/fstab entries on service node 2015-01-13 02:56:33 -08:00
Victor Hu
d426eb6fc2 added code to recognize disc3 of SLES Server and SDK images and not overwrite disc1 due to media.1 directory 2015-01-09 14:49:21 -05:00
ligc
573aba58d6 fix for bug 4507: check the distribution name specified with copycds -n in debian.pm 2015-01-09 15:10:59 +08: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
ertaozh
3fc42a55fb fix bug 4455: nodeset return error for ubuntu if no serialport attribute set, add warning information if no serialport attribute specified 2015-01-05 07:03:52 -05:00
Jia Zhao
b32dc297e7 fix lskmodules support ubuntu14.04 2015-01-04 16:32:37 +08:00
daniceexi
5131f51509 Remove the capping related information from man page and usage 2014-12-29 03:00:32 -05:00
daniceexi
175ac75c8e Add man page for P8 energy; some minor fixes in CIMUtils.pm and energy.pm 2014-12-26 05:58:04 -05:00
ertaozh
b8ab60014a [Energy management support for P8 with CIM] enhance of support to query power,fanspeed,cpuspeed,temp attributes 2014-12-24 01:55:57 -05:00