Commit Graph

25 Commits

Author SHA1 Message Date
jjhua
64217a35c4 For the places that open site table to read attributes, change to call xCAT::Utils->get_siteibute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12869 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 09:09:30 +00:00
wanghuaz
dd8ba073e3 Fixed the issue that makehosts failed with host.ip empty but otherinterfaces are valid
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-06 14:14:14 +00:00
ligc
dceba492cb 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@9625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-18 01:31:14 +00:00
ligc
fd11704702 ipv6 fix: use -m flag with makehosts command to generate link local addresses in /etc/hosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6255 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-27 07:42:49 +00:00
daniceexi
89b7726564 add the localhost entry automatically when running the makehosts -n
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-04-19 12:20:47 +00:00
jbjohnso
a8c1a1a560 -Implement/fix locking for dhcp/hosts management plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-19 15:00:51 +00:00
jbjohnso
2dd5c3b17c -Add '-d' argument to makehosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5211 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-02-11 21:01:24 +00:00
jbjohnso
8219fcf64a -Fix implementation of '-a' on hostnames
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-11 19:06:16 +00:00
jbjohnso
d9be41ccd6 -Fix imbalanced braces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4932 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-11 18:43:18 +00:00
jbjohnso
ec8b41c2f8 -Support adding domain to othernames argument
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4931 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-11 18:36:24 +00:00
jbjohnso
93e6b3cf34 -Support putting hostnames field before nodename and such if -h//--hostnamesfirst is given to makehosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4910 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-01-07 19:33:58 +00:00
jbjohnso
f012fe2dad -Support FQDN in makehosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-14 15:55:31 +00:00
mellor
3bc4bfe0b6 add makehosts support for otherinterfaces
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-06 20:39:39 +00:00
jbjohnso
f97cc4c345 -Fix nodeadd bug with no nodegroup table
-Fix makehosts command


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3609 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-19 17:49:51 +00:00
jbjohnso
fd7accf225 -Remove confilicting hosts file entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3516 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-04 19:12:04 +00:00
jbjohnso
23b516e289 vim
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3515 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-04 19:11:04 +00:00
daniceexi
94ba6c8119 handle the not initialized warning msg in bypass mode, ref defect 2781882
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-27 03:06:42 +00:00
linggao
b89478cd64 fix makehosts command to be able to specify if long name comes before short name or not. And remove the duplicate entries. And enable adding hosts for different domains
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3072 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-02 21:38:45 +00:00
jbjohnso
a084808f7e -Attempt insertion of an FQDN first (kerberos for one is particularly more happy this way)
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2907 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-15 18:54:05 +00:00
jbjohnso
7874e5fd06 -Guard against makehosts matching blank lines when or is messed up
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2761 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-02-17 20:40:37 +00:00
jbjohnso
c945e35bd2 -Change hosts call to getNodeAttribs to perform at-scale call getNodesAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1934 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-23 13:39:07 +00:00
jbjohnso
2bbc51d240 -Fix hosts plugins strict deviation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1903 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-18 20:22:45 +00:00
jbjohnso
60164a520b -Add missing File::Copy directive to hosts plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-02 15:22:30 +00:00
jbjohnso
e3ec966e33 -Backup hosts file before makehosts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1575 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 20:28:01 +00:00
jbjohnso
e68fe9d2db -Move xCAT-server and client to not have 2.0 in name for trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1561 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 14:56:33 +00:00