Commit Graph

114 Commits

Author SHA1 Message Date
e01827f9d3 first commit for prefix hostname feature 2014-01-09 21:02:53 +00:00
ligc
bfe3cdad05 fix for bug 3748: lsdef --osimage need to list all osimage attributes 2013-09-18 13:46:00 +08:00
ligc
94f876a1cc fix for bug 3574: the blank grptype means static nodegroup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16289 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-14 07:17:21 +00:00
ligc
e8edeca80c fix for bug 3476: set @::finalTypeList based on both CLI and FILEATTR
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15977 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-16 02:48:38 +00:00
zhaoertao
db6fc2c563 change \'-s\' to \'-u\' for mkdef|chdef command to have osimage find custom files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-08 07:03:24 +00:00
zhaoertao
0a89522d18 add -s for *def command to have osimage find custom files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-04-03 11:43:18 +00:00
ligc
83bed2cb04 chdef,mkdef enhancements to support nic attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15602 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-21 06:41:01 +00:00
ligc
bab48dbc50 lsdef enhancements to show nics attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15594 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-20 06:56:32 +00:00
lissav
9a7dba6d86 fix defect 3401
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-04 16:46:28 +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
ligc
1521e5834b fix for bug 3050: -t and -a could not be used together
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14715 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-27 05:50:35 +00:00
ligc
ad3b48cae4 fix for bug 3221: check if the attributes specified with -i are valid attributes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14572 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 13:30:55 +00:00
ligc
426c34f342 fix for bug 3208: exclude eventlog and auditlog with lsdef -a, performance improvements for lsdef -t eventlog and lsdef -t auditlog
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14532 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-04 05:52:20 +00:00
xq2005
696ba151a5 defined(%hash) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14498 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:08:47 +00:00
ligc
80d7105e4b fix for bug 3530169: display a warning message when can not find group member
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13175 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-27 07:05:01 +00:00
ligc
2c8c856097 fix for bug 3522897: not allow chdef -t <object_type> xx=yy to change all objects
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12438 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 02:53:42 +00:00
ligc
820beb4ffa fix for bug 3496309: print warning message if could not find osimage information for nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12214 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 07:57:24 +00:00
ligc
0456b6ef6c fix for bug 3422448: lsdef -t <type> -h -i attrs_list support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11659 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 08:03:15 +00:00
ligc
da3e4492ec fix for bug 3458127: chdef performance improvements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11305 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-27 06:12:19 +00:00
ligc
4e60d179cf fix for bug 3458183: mkdef performance improvement, do not grep array, do not access nodegroup table in foreach node loop
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-20 12:10:55 +00:00
ligc
84baedcc78 add node number information for mkdef,chdef,rmdef output message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10719 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-09 01:39:37 +00:00
ligc
cb9f712d6e fix for bug 3388874: mkdef handle existing objects
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10391 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-30 07:55:06 +00:00
ligc
1ce7d0080f fix for bug 3286305: print warning message when no boject is provided
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 00:50:26 +00:00
ligc
da15d75ae4 fix for bug 3299844: add -t node as default value for lsdef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 00:41:05 +00:00
ligc
e56933c733 lsdef --osimage to list osimage information
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9751 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-07 06:51:28 +00:00
ligc
746792eed9 fix for flag conflict between --nocache and --compress
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-26 08:36:06 +00:00
ligc
0105f20655 fix for bug 3219819: do not add hosts into /etc/hosts if the ip field is not an ip
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9626 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-18 06:19:48 +00:00
yinle
0a7d9ced55 Fix the mistake that the -l flag can't work with -S flag.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9353 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-20 06:51:35 +00:00
ligc
0a0427657c fix for bug 3284076: lsdef -S check nodelist table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9276 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-12 06:32:58 +00:00
yinle
412decbd9e Fix bug 3219114:If delete CEC/Frmae, FSP/BPA should also be deleted from tab
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-24 10:41:58 +00:00
yinle
bc7c729722 Remove tab characters. Fix bug 3212767: "lsdef -l"& nodels shouldn't display hidden info.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-20 05:56:47 +00:00
nott
4b121c149f fix return codes for *def cmds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-18 14:58:45 +00:00
ligc
9dfcfa4291 fix for bug 3182341: site name check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8960 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-02 08:37:08 +00:00
ligc
62d388406a fix for bug 3196468: initialize global variables
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8959 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-02 06:36:24 +00:00
ligc
f9dde75c19 fix for bug 3153314: check flags
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8958 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-02 06:04:15 +00:00
yinle
86fded6cad FSP/BPA redundancy: modify the process of flag -S with lsdef
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8893 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-20 13:25:32 +00:00
yinle
6930f17ceb fix defect: 3157028 lsdef -a could not list other objects except node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8671 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-15 07:30:37 +00:00
yinle
fa4801ba2f FSP/BPA redundancy: modify the hidden attribute according to the design
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8638 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-13 03:22:42 +00:00
yinle
cb07d67b4d minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8603 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-11 11:48:26 +00:00
yinle
8ab1e35be0 fsp/bpa redundancy: change lsdef -H flag to -S to match the flag used by nodels.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8588 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-10 09:26:46 +00:00
yinle
23fbaf4dd3 fsp/bpa redundancy: add -H flag to lsdef for avoiding to list of fsp/bpa nodes.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8587 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-10 09:12:35 +00:00
ligc
43016e2f4f fix for bug 3131333: rmdef should not delete all objects if no objects were provided through command line
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-27 08:17:12 +00:00
ligc
3ec8cc018c remove the unnecessary blank line before each object name in lsdef output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-19 13:37:20 +00:00
bp-sawyers
157a81f6de Support hostnames like f1c1p1 and a new flag to delete all the nodes xcatsetup has created.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-17 19:14:32 +00:00
ligc
87fb0fdddc fix for bug 3136752: add internal flag --nocache to *def commands
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8401 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-15 01:47:06 +00:00
ligc
25dbd9a2df fix for bug 3105433: postscripts table with -V
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8312 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-03 09:16:46 +00:00
ligc
8686e4c4a5 fix the rmdef,chdef,mkdef return code problem, found by automation bucket
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-14 13:03:54 +00:00
daniceexi
303d79fbe3 The code drop for the changing object name by chdef command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-08 10:38:12 +00:00
ligc
0118e0ff31 fix for bug 2984196, check for site name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6311 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-02 09:43:30 +00:00
ligc
ba9ec8ca75 fix for bug 3007510
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-28 09:50:15 +00:00