Commit Graph

62 Commits

Author SHA1 Message Date
4100dd77e4 Add capability for plugins to supply a description in update_tables_with_templates 2014-09-23 10:46:28 -04:00
d7081292fc fix for 4261: add the getnodesetstat support for grub2 2013-08-29 15:18:48 +08:00
8aa878427e take *.rhel*.pkglist as pkglist file if *.rhels*.pkglist do not exist 2014-02-12 00:54:54 -08:00
6dd972fd50 code drop for feature to support multiple disks/paritions and multiple nics configuration for Windows deployment. 2013-12-03 02:36:48 -05:00
4fcf3a96e6 fix defect #3370 Create osimage definition for the Management Node 2013-10-18 01:58:05 -07:00
ebf7ea4be4 fixed bug 3605, improve the code according to Bruce's suggestion, except xCAT_monitoring::monitorctrl->getNodeConfData()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16655 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-18 07:41:10 +00:00
e6f7ece3d2 Check more directly for location of arp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-13 09:07:22 +00:00
5463dcdfa5 arp command location is different between redhat and debian/ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-08 09:52:30 +00:00
64af7cbc19 Fixed an error in last checkin.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15844 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-07 06:30:53 +00:00
1d37352e85 Fix for template recognition to detect major release generic templates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15825 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-04 13:03:50 +00:00
8360cddd12 Provide a mechanism for bundled xCAT instances to forbid image import without existing templates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-02 19:19:30 +00:00
83e983106c Create osimage with profile compute for management node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15738 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-30 07:51:25 +00:00
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
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
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
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
6ed9c4c9b1 pre-create mypostscript enhancement: get_nodeset_state uses the values of the noderes.net boot noderes.tftpdir which were got ahead of time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14188 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:10:01 +00:00
4d707f6c8f add getpostbootscripts routine and put a small fix in getsynclists routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-09 19:14:06 +00:00
01461cdc50 add some comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 06:22:57 +00:00
452dbe05a6 add update_osdistro_table , modify update_tables_with_templates and update_tables_with_templates to support osdistro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 09:22:56 +00:00
e822d0406e for item: clean up Utils.pm, the code in xCAT-server/lib/per/xCAT/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:00:45 +00:00
621425dada copycds enhancement: update linuximage table with the specified ospkgdir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13034 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 03:20:07 +00:00
794760bf25 fix the code to get correct synclist file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12849 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 19:15:01 +00:00
9ac4324794 For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 07:33:24 +00:00
245a7a055b Fixing bug 3508572. while restarting xcatd on service node, it will try to issue nodeset. for nfs-based statelite, it tries to issue litetree to get a folder and setup NFS exports. The problem is while issuing litetree command, xcatd is not available yet. So we added XCATBYPASS=Y before issuing litetree. After reviewing the context, litetree command is issued only on the CN's service node and the result is also used by the CN's service node only, so adding XCATBYPASS=y should be fine.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12786 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 06:04:21 +00:00
9fc48a2a59 Fixing bug that basename command required File::Basename pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 08:05:59 +00:00
6cead01cf9 Have SvrUtils potentiall prefetchcache
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 15:30:53 +00:00
5890139d47 Fixing bug 3508572: SvrUtils.pm issues command mkpath, mkpath is included by File::Path, instead of File::Basename. I cannot find any other command that is included by File::Basename, so just replace it with correct one.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12607 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 09:28:10 +00:00
f63aaf9ebf fix defect 3513526
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 20:05:53 +00:00
6c81bc84ce More efficient when calling getstate for pxe,xnba and yaboot during node deployment or updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 20:33:32 +00:00
db4d440467 Have SvrUtils allow 'export' of sendmsg for brevity in calling code if calling code so desires it.
Get ready to have blade.pm do ssh out of the gate on at least CMMs
Get ready for SLP based 'node' discovery, including MM initial setup

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 21:06:04 +00:00
afff5fa64b Adding synclist support for statelite and also adding synclists support for user customized imagenames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11395 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-19 08:01:57 +00:00
7529e736f3 defect 3370506: make copycds command to generate the osimage obj for the stateless and statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-21 06:26:13 +00:00
8e35b5bcb5 The continued fix for the defect 3317678
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-20 08:52:49 +00:00
57b94e7f75 defect 3317678: fix the issue that cannot get correct nodestate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-17 08:44:01 +00:00
60c15d4c94 Added the new command "imgcapture" to svn trunk.
please run "man imgcapture" for more information.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9076 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-17 15:55:44 +00:00
5bda5a1df6 Check in Arif's changes for debian/ubuntu support. Not all patches applied yet.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8965 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-02 09:50:17 +00:00
688cd70842 remove the <<<<<r69901
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6999 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 02:10:24 +00:00
4dd2631bdf Refactered sendmsg to live in SvrUtils.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-06 15:29:07 +00:00
a7e56eb7f7 code drop for coordinated cluster bringup and shutdown
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-02 03:29:15 +00:00
a6eeb5d139 full install supports linuximage.pkglist
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-28 18:29:16 +00:00
0e479d94e3 Scientific Linux support: add the disc ID for SL5.5; Use the SL as the platform instead of sl, since sl easy to be confused with sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6613 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-28 13:46:51 +00:00
b95c560979 -Scientific Linux contributed by Arif Ali
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-23 20:12:16 +00:00
7c107b4503 Just made 3 functions i moved here before check for the package name in the first argument and shift past it, if so
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6334 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-03 13:34:54 +00:00
6e2ec934f7 Fixed subVars to skip the first argument.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-18 21:12:15 +00:00
f318d410bd ipv6 fix, replace the Socket library calls with NetworkUtils subroutines
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-10 09:18:25 +00:00
f836cf43e7 Removed duplciated functions in litetree, sles and anaconda modules and placed them in SvrUtils per feature request 2991341
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-04 14:24:08 +00:00
53d4ac84be getsynclistfile() is updated, statelite should be use "netboot" directory instead of "install" directory
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5694 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-07 03:22:51 +00:00
2dd7b08aeb defect 2947831: use subroutine getInstallDir to get install dir
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5275 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-24 08:26:34 +00:00
2d909fef9d more support for statelite
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5240 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-19 18:39:56 +00:00