Commit Graph

806 Commits

Author SHA1 Message Date
jbjohnso
0c9f723786 Correct loop variable names in various post scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12526 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 14:27:19 +00:00
ligc
d77845f04e fix for bug 3523175: use nfsv3 to mount the statelite directories
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12484 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 04:31:35 +00:00
arifali
d226d3d75d ubuntu: add new genimage which has a few additions for dracut, when available, and re-enabled busybox-static, as that is available in ubuntu10.10. this current one works with 10.10
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12400 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 00:03:11 +00:00
arifali
4f0482d705 ubuntu: genimage fixes
- stateless requires busybox (see artifact 3522447 for more details)
- initial work on dracut committed, not sure if this is going to work yet, as ubuntu doesn't have dracut by default
- changed linux-image-generic to linux-image-server, and removed busybox-static as that didn't exist

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12399 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-29 23:00:07 +00:00
jbjohnso
ea23089441 Fix a problem in the boot partition in rhel
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12364 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:25:46 +00:00
jbjohnso
b99e150b60 Add boot device probing to suse
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12361 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 19:00:30 +00:00
jbjohnso
8250bc1673 Have RedHat installs reduce risk of overwriting SAN volumes. The strategy:
BIOS drive 80 is chosen if at all possible (don't know EFI way yet)
Failing that, first virtio block device
Failing that, then first block device served by ata_piix4, ahci, megaraid_sas, pmcraid
Failing that, first mptsas or mpt2sas
Failing that, first block device

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12360 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 18:41:18 +00:00
jbjohnso
957464e075 Have wget http ignore robots.txt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12352 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-26 12:40:46 +00:00
bp-sawyers
d242ae9f30 Removed expect dependency
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12340 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-25 11:40:16 +00:00
linggao
d5a3ec70db drop -t support for genimage, defect 3520753
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12306 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 20:52:58 +00:00
jjhua
0804b949cb correct the typo, fixed bug 3520431
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12297 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-23 02:57:44 +00:00
jbjohnso
2bf340b011 Enhance ipmi console with analogous enhancements to other console backends to mitigate memory usage when massive numbers of imms are not reachable
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-16 00:42:36 +00:00
immarvin
ee23b11566 change all logger calls to put xcat msgs into local4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12213 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 05:47:36 +00:00
immarvin
2dbc51d2d7 change all logger calls to put xcat msgs into local4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12212 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 05:45:09 +00:00
immarvin
c07ec5a185 change all logger calls to put xcat msgs into local4
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12211 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 05:40:58 +00:00
jbjohnso
72254ce79c Provide a hook for TLS cert delivery by updates.img.
Note this is of little use in a PXE environment today, as MITM to the initrd or ipxe subverts all of this.
This however is interesting for secure boot environments and remote media boot strap to provide an unbroken trust chain

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 13:39:51 +00:00
immarvin
1554d29c0f fixed nfs mount problem and bug:CN fail to acquire eth address during deployment(ID: 3515413)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12170 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 05:14:00 +00:00
jbjohnso
51b6f71eb6 Remove extraneous set -x
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-05 17:06:25 +00:00
daniceexi
8e3bb4ee70 fix the issue if having entry has dir path in the .pkglist, genimage failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 17:35:34 +00:00
jjhua
d7011e64bb fixed the point 2 of defect 3513208, when run genimage with mlnxofed_ib_install twice for sles11sp1, the genimage will fail. A special case for sles11sp1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12086 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-01 06:36:03 +00:00
ligc
2d6e8d8a5d fix for bug 3487614: add timestamp when running postscripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12078 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-31 02:58:07 +00:00
jjhua
ca365a92be add the pciutils and pciutils-libs because we use the lspic in the mlnxofed_ib_install scripts.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-30 05:22:30 +00:00
wanghuaz
e4037c6e09 some hpc packages listed in otherpkg list requires /proc filesystem. Previously those packages are installed from postintall script and the postintall script mounted /proc filesystem for them. Now if use otherpkgs to install HPC packages, we have to mount /proc file system also.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12047 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 08:22:41 +00:00
ligc
9b0eef0aa9 fix for bug 3487614: move scripts to /xcatpost/mypostscript* and the requirement from bug 3497125
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12044 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 03:16:38 +00:00
jjhua
8fe63331bd fixed defect 3512263.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 12:33:40 +00:00
linggao
578afdf5d0 added interactive flag for genimage prompt
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 20:59:36 +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
jjhua
cb9f6e46ec correct the loop number
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12014 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 02:44:56 +00:00
jjhua
f76fac2a3a For AIX, remove the original ib configuration; use the loop number instead of 0, 1, 2...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12010 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 02:07:46 +00:00
jjhua
d0066e515a For AIX, remove the original ib configuration; use the loop number instead of 0, 1, 2...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12009 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 02:07:31 +00:00
jbjohnso
a18bc88b18 Enhance mktoolscenter
support multiple repositories, more obviously fail on mount error, give usage in the face of unrecognized cli arguments
support mounting from an external nfs source rather than xcat

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12007 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 19:46:50 +00:00
jjhua
f4a06ff3e6 fixed 3499932 and 3499065: remove the original ib configuration; use the loop number instead of 0, 1, 2...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 09:43:09 +00:00
jjhua
567a13c591 fixed 3499932 and 3499065: remove the original ib configuration; use the loop number instead of 0, 1, 2...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 09:42:53 +00:00
ligc
8168b22e49 fix for bug 3487614: Full installation, extract the common code for generating the mypostscript file and make it common across all scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 08:26:38 +00:00
daniceexi
e53d9d1394 defect 3496107: remove the uninstall of OpenIPMI-tools and tftp-server, try to install conserver-xcat instead of conserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11949 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 01:26:09 +00:00
zhaoertao
d27ef5117f fix bug 3500392: FB->console abnormal if off/on blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11922 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:13:03 +00:00
daniceexi
2d30063a80 Add the script detect_dhcpd for dhcp server detecting
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-20 08:11:25 +00:00
wanghuaz
f8138b1687 fixing bug 3505826: don't run yum install command if otherpkg list only contains marked removable pkg and no package to install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-16 07:05:26 +00:00
zhaoertao
b7d1caeef7 fix bug 3500392: the DFM link between hdwr_svr and blades need to be reconnected
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 11:54:21 +00:00
lissav
01cb1ef7e7 fix defect 3502735
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 17:03:38 +00:00
zhaoertao
4eeaae182a modify the time interval used to retry rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 09:15:57 +00:00
zhaoertao
4572e601f8 add sleep for rcons to check the blade state if it is in 'power off' state
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-09 09:07:05 +00:00
wanghuaz
0e88519c6a cmdline cannot handle some improper network configurations. Commentting it out to make it more stable.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-08 09:55:54 +00:00
jjhua
67454ed336 the additional pkglist for Mellonax ofed ib on rhels6* x86_64 diskless
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-07 07:34:33 +00:00
jbjohnso
1ab36e3433 Have genduiduuid unconditionally interpret UUID as little-endian, to acheive consistent cross-platform interpretation of DUID
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11766 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 15:55:18 +00:00
jbjohnso
c08b1d2a0f Have IPv6 setup in ESXi5 tolerate 5.(whatever) releases.
Correct for the fact that ESXi presents UUID without byte mangling

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11765 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 15:55:05 +00:00
jbjohnso
f5319690f5 Change esxi DUID-UUID fixup to tolerate case where /hardware/machineUUID does not exist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11763 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 14:13:20 +00:00
phamt
74aa9f3cb9 Added default route into autoyast template.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11762 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 14:00:33 +00:00
phamt
f09d85c5a2 Added gateway to mkay4z
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 03:59:03 +00:00
jbjohnso
2d42ffe517 wmic csproduct is actually supposed to return the correct ordering, just
some vendors disagreed with MS on encoding.  SMBIOS 2.6 mandates the MS way
In startnet.cmd, assume wmic is accurate instead of 'fixing it'.  This means
DUID changes, but I don't think anyone cares and this paves the way for a
reasonable DUID future.

For autoinst cmd script, it is a problem.  Have windows.pm provide two UUID
based links, one with the correct presentation and a byte-swapped variant

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 18:33:28 +00:00