Commit Graph

6632 Commits

Author SHA1 Message Date
ligc
6c44423812 fix for bug 4458: check the return value from Table.pm::setAttribs 2014-03-06 09:14:41 +08: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
immarvin
147185c198 fix defect #4539 [FVT] On RHEL 7.1 ppc64, the name of network adapters changed after the operating system 2015-03-04 01:26:16 -08: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
baiyuan
76a9da1e87 defect 4571 /etc/network/interfaces overwriten after firstboot 2015-02-12 22:58:44 -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
daniceexi
bf7645a4f5 Continue the fix to avoid sslv3 in xcatd. In this commit, all the calling to [openssl s_client] in xcat code which used to connect to xcatd will add arguments [-no_ssl3 -no_ssl2] to avoid the using of sslv2/3 2015-02-12 20:19:00 -05:00
daniceexi
b2eb57d072 Add default value for attribute site.xcatsslversion=TLSv1 to avoid using sslv3 which might cause POODLE Attach 2015-02-12 09:44:01 -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
immarvin
3faba40ece uncomment the updates/security/src entries and correct some entries in source.list 2015-02-11 01:31:11 -08:00
daniceexi
35e6a500a8 sles.pm, more code change for installnic/primarynic code refine 2015-02-11 02:52:03 -05:00
ertaozh
860600e782 fix bug 4556: There are some failed message during Ubuntu ppc64le stateless provision 2015-02-11 02:36:36 -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
e3ad7b1017 Ubuntu/genimage: support to use local mirror in pkgdir with http format 2015-02-10 03:43:58 -05:00
GONG Jie
82be975146 Add pkglist, exlist, postinstall files for RHEL 7.1 support on ppc64le 2015-02-10 15:15:34 +08: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
Junxiaw
3b63df478e modify xCATreg 2015-02-08 07:28:47 -08:00
jjohnson2
d9d0ac7835 Merge branch 'master' of ssh://git.code.sf.net/p/xcat/xcat-core 2015-02-06 14:22:18 -05:00
jjohnson2
e15c2a7595 Fix RHEL7/CentOS7 netboot with BOOTIF
xcatroot ramroot setup did not correctly change BOOTIF to
match expectations.  Remove 01- and replace - with : to match
ip output
2015-02-06 14:22:12 -05:00
daniceexi
54bb58fa17 code drop for ubuntu diskless genimage to use local mirror 2015-02-06 08:53:21 -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
Casandra Qiu
7f90f85103 Bug #4537, clean up sles12 genimage output 2015-02-04 14:22:45 -05:00
mellor
874f77afed defect 4082 - change previous fix to disable warnings when calling setlogsock to work with older versions of perl too 2015-02-04 08:00:03 -05: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
immarvin
b877e034fb #4538 [DEV] incorrect /etc/init/hvc0.conf on ubuntu 14.04.1-ppc64le kvm node after provisioning 2015-01-27 00:26:27 -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
decd51de2d fix defect 4535: xcat can not get the right disk name for powerkvm VM 2015-01-26 04:31:29 -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
linggao
2bd7845673 Fix sles sdk support 2015-01-22 12:23:34 -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
linggao
788f0a4a97 Added support for mutiple sdk CDs for sles diskless 2015-01-21 18:11:56 -05:00
mellor
b34537ec2e defect 4529: send msg to install monitor process to reload perl modules when rescanplugins called 2015-01-21 16:08:34 -05:00
Victor Hu
5549d2e033 Certain system services are now started with the SLES12 operating system, to keep backwards compatiability, check if the service is in etc/init.d in the rootimg and only run inssrv on those.
Smarter code added for loading kernel modules
2015-01-20 16:38:51 -05:00