Commit Graph

432 Commits

Author SHA1 Message Date
jjhua
05bc99e483 support multiple paths of osimage in rh/sles diskfull installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15277 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-28 06:18:27 +00:00
jjhua
a840161de9 fixed bug 3342, and made some performance enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-21 06:30:07 +00:00
jbjohnso
318d33b9b1 Fix Template to add a missing \r to windows templates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-08 19:10:59 +00:00
jbjohnso
2bd19274ac Fix problem where missing prodkey table would induce failure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15067 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-05 18:52:41 +00:00
jbjohnso
0d8d4241fb Fix non-DOS line terminators in windows template data fill in
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-04 18:22:12 +00:00
jbjohnso
885277c218 Fix characterization of hyper-v
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 19:11:46 +00:00
jbjohnso
91d1302622 Fix problem where Hyper-V was mis-characterized as 'Linux'
Have osdistro table recall the OS version number of Windows operating systems.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15036 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-02-01 18:45:36 +00:00
jbjohnso
50ca1f5737 Have IPMI tolerate incorrect rqaddr field to communicate with buggy BMCs that don't comply to the spec
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15013 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-29 21:23:38 +00:00
jbjohnso
1886fa3c54 Have Template get a new directive: MANAGEDADDRESSMODE for use in certain appliance applications
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15003 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-28 18:58:00 +00:00
jbjohnso
2041f44014 Fix issues around prejoin=0, allow for multi domain support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15000 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 21:04:12 +00:00
jjhua
d9c27df593 fixed bug 3322
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14991 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 07:38:59 +00:00
jjhua
157b6b6fdd fixed bug 3309. export the empty varialbe
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-25 02:07:20 +00:00
jbjohnso
d478707749 Fix templates not using WINACCOUNTDATA inadvertently disabling local admin access
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14988 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 20:09:19 +00:00
jbjohnso
bc33e681e0 Fix incorrect partition id in the Win2012 Datacenter template
Correct the disable local admin XML from Template.pm

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 19:10:40 +00:00
jjhua
278064041c after discussion of bug 3309, not put the empty variable in the mypostscript file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-24 01:13:22 +00:00
jjhua
c8c64a5afe fixed bug 3309, export the empty varialbe
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 08:17:01 +00:00
jjhua
8ec0fc9c97 fixed bug 3309, remove the comments line which begins with ##
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14954 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-23 07:14:53 +00:00
jjhua
953f01b3f8 fixed bug 3300
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14941 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-22 08:30:27 +00:00
jbjohnso
14ffb71f0e Have Windows domain allow the less secure 'securejoin' if indicated in site (can be rendered secure in *very* specific circumstances).
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14931 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-21 14:34:37 +00:00
jjhua
a013a88e0e fixd bug 3291, when run getpostscript.awk version2, create mypostscripts.nodename.tmp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14908 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-17 09:15:27 +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
jbjohnso
b5e5c2a84b First pass at automating the behavior of disabling/enabling local admin account.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14855 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 20:30:44 +00:00
jbjohnso
c0cd7d0e58 Have Template detect and fill in the entire unattendedjoin object if template requests
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14851 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-10 19:50:43 +00:00
jbjohnso
75a399eaf1 Fix problem where lsslp --flexdiscover was not working
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14825 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-09 15:37:30 +00:00
jbjohnso
452fcb74f8 Fix win2012 deployment issues with productkey and such
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 19:24:10 +00:00
jbjohnso
2a73625a7c Add a utility function for Windows specific functions, for now, just a map for KMS key lookup since 2012/Windows 8 got particular about product keys even for KMS case
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14806 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-08 15:48:38 +00:00
jbjohnso
e7a31a057b Have Template support the more elegant TZUtils approach for translation to Windows timezones from POSIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14731 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 20:09:59 +00:00
jbjohnso
7307a550ef Remove 'e' from regex flags in Template.pm as the replacement does not suggest perl evaluation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 20:09:46 +00:00
jbjohnso
86102a215b Provide more human readable interpretation of RMCP status messages where possible
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14727 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-02 18:31:14 +00:00
ligc
38fcd2f3a8 fix for bug 3051: search /install/custom and /opt/xcat for lsdef --osimage against nodes with provmethod=install/netboot/statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-29 08:33:14 +00:00
jjhua
59a3beafdb for management node ,the NTYPE is MN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 07:32:45 +00:00
jjhua
a4f5515786 fixed bug 3230, support for the mn
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-14 07:14:01 +00:00
jjhua
fb73b701f6 support the tabdump(TABLENAME) in the mypostscript.tmpl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14628 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 06:52:45 +00:00
linggao
3413ba4568 added switches.protocol for running xdsh for swithes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 21:11:29 +00:00
linggao
933b5e0983 added explicit tag in switches.sshusername to indicate that the username is for telnet. This will improve the performance for xdsh to switches
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14563 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 20:39:43 +00:00
jjhua
8c01f8c93f some minor changes about the the and syntax
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14556 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-05 08:25:49 +00:00
jbjohnso
f18bfe62e7 Recall the 'CLI' user/pass in order to facilitate case where cli and ipmi passwords mismatch (not recommended, but might as well implement it)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 15:31:23 +00:00
xq2005
d60b6b955a defined(%hash) and defined(@array) are deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14497 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:06:20 +00:00
xq2005
33f1f5e80d defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:03:30 +00:00
xq2005
c82f125bf3 defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14492 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 08:58:36 +00:00
jbjohnso
bb9fb8c54b In case caller does not specify 'curraddr', fall back to ssh to the actual ip (e.g. remoteimmsetup case)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14487 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:55:41 +00:00
linggao
31551bab47 added Juniper switch support in xdsh and added trace support for xdsh switch management
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:52:15 +00:00
jbjohnso
851f0123cd Refactor setupIMM from slpdiscover.pm to IMMUtils.pm in preparation for common code usage
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 21:42:30 +00:00
jbjohnso
1fdad5c12f Fix problems with new PasswordUtils, move ipmi.pm to using the refactored code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 16:24:03 +00:00
jjhua
fa0d361403 remove the msg and export action, when the attribute could not be got from the table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14475 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-29 08:07:02 +00:00
jbjohnso
3e5e27bc71 First pass at refactoring and revising get ipmi password scheme, not even checked for syntax correctness yet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14465 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 22:11:09 +00:00
linggao
c29f5fd619 increase the timeout value in RShellApi.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14463 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 16:32:36 +00:00
lissav
21202e8773 put in support to auditskipcmds for clienttype:value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14439 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 17:01:49 +00:00
jjhua
90e0e80aa2 correct the osimage_postboot, instead of osimage_post
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14436 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 08:45:52 +00:00
jjhua
4d3edda0cd fix a minor bug for osimgname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14435 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-27 08:45:12 +00:00