2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-03 12:00:08 +00:00

78 Commits

Author SHA1 Message Date
cxhong
c922ad2cf7 Find correct template and postinstall file to build osimage for copycds -n command (#5300)
* Parse copycd -n options to get correct tmpl and postinstall file

* Add support for Ubuntu
2018-06-21 13:38:31 +08:00
Mark Gurevich
5de4e26a59 Better handling multiple dots in copycds name 2018-02-12 14:32:51 -05:00
yangsong
45fd73f8e3 fix xCAT should better support the service group (servicenode postscript) to avoid errors when using Hierarchy #3150 (#3442) 2017-07-13 17:00:58 +08:00
cxhong
7ff64b220f Wrong mac address showing for switchdiscover command (#3131) 2017-05-25 00:14:16 -05:00
Mark Gurevich
f3531240d3 Parsing : fix for sendmsg() error message (#2983) 2017-05-04 20:30:52 -05:00
immarvin
907c4971a9 fix issue [CUSTOMER] the old diskless image built by xCAT can not be used after xcat 2.12.2 #2130 2016-11-17 03:31:30 -05:00
immarvin
2ab944ea65 add ubuntu16.04.1 netboot pkglist;modify the precedence of SvrUtils::get_file_name 2016-08-08 05:10:02 -04:00
Mark Gurevich
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
Casandra Qiu
bbf151bf62 Use get_mac_by_arp subroutine from SvrUtil.pm 2016-06-07 22:17:54 -04:00
penguhyang
a482af52c4 correct to generate stateful-mgmtnode osimage on rh7.0 2015-10-29 02:50:33 -04:00
immarvin
d4e1383e68 overwritten the SvrUtils.pm by mistake, recover it 2015-07-02 09:01:10 -04:00
immarvin
53b4d81a4f fix defect #4717 [FVT]:sles11.4 diskful installation failed with netboot=yaboot 2015-06-29 22:56:24 -04:00
immarvin
e7154e0348 fix #4687 [FVT]:copycds rhels6.5 iso create rhels6.5-ppc64-install-compute_ad. please remove it. 2015-06-02 03:41:23 -04:00
immarvin
db8a4dd07d donot create statelite osimages and diskless service osimages after copycds, 2015-06-02 02:02:40 -04:00
immarvin
f5b1324a6a update subroutines in xCAT::SvrUtils to generate only -compute and -service images, do not clean up the template files for now. 2015-06-01 04:50:20 -04:00
huweihua
ba343557ec fix bug: disappeared in petitboot environment 2014-11-11 07:02:51 -05:00
Jarrod Johnson
4100dd77e4 Add capability for plugins to supply a description in update_tables_with_templates 2014-09-23 10:46:28 -04:00
ligc
d7081292fc fix for 4261: add the getnodesetstat support for grub2 2013-08-29 15:18:48 +08:00
immarvin
8aa878427e take *.rhel*.pkglist as pkglist file if *.rhels*.pkglist do not exist 2014-02-12 00:54:54 -08:00
daniceexi
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
immarvin
4fcf3a96e6 fix defect #3370 Create osimage definition for the Management Node 2013-10-18 01:58:05 -07:00
jjhua
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
xq2005
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
xq2005
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
wanghuaz
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
jbjohnso
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
jbjohnso
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
wanghuaz
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
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
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
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
jjhua
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
lissav
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
immarvin
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
immarvin
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
zhaoertao
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
immarvin
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
linggao
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
jjhua
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
wanghuaz
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
wanghuaz
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
jbjohnso
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
wanghuaz
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
lissav
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
linggao
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
jbjohnso
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
wanghuaz
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
daniceexi
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
daniceexi
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