Matt Ezell 
							
						 
					 
					
						
						
							
						
						20e203cd5b 
					 
					
						
						
							
							'makehosts -n' Improvements  
						
						... 
						
						
						
						- 'makehosts -n' will leave the server without a hosts file while it is
  generating the new one, but there's really no reason for that.
- While /etc/hosts should never be missing, 'makehosts -n' should
  include the loopback addresses no matter what.
- makehosts with and without '-n' should use the same locking to prevent
  multiple concurrent execution. 
						
						
					 
					
						2017-10-10 22:08:50 -04:00 
						 
				 
			
				
					
						
							
							
								bybai 
							
						 
					 
					
						
						
							
						
						c7ea492e6b 
					 
					
						
						
							
							polished  
						
						
						
						
					 
					
						2017-09-19 05:21:07 -04:00 
						 
				 
			
				
					
						
							
							
								bybai 
							
						 
					 
					
						
						
							
						
						41fc149dc9 
					 
					
						
						
							
							nic interface check to avoid dot in short host name  
						
						
						
						
					 
					
						2017-09-19 04:44:29 -04:00 
						 
				 
			
				
					
						
							
							
								bybai 
							
						 
					 
					
						
						
							
						
						14c1e0c1b1 
					 
					
						
						
							
							polished  
						
						
						
						
					 
					
						2017-07-12 02:30:52 -04:00 
						 
				 
			
				
					
						
							
							
								bybai 
							
						 
					 
					
						
						
							
						
						d273135b37 
					 
					
						
						
							
							polished  
						
						
						
						
					 
					
						2017-07-12 02:11:50 -04:00 
						 
				 
			
				
					
						
							
							
								bybai 
							
						 
					 
					
						
						
							
						
						255062580a 
					 
					
						
						
							
							enhance makehosts support regex in nicips  
						
						
						
						
					 
					
						2017-07-11 03:52:45 -04:00 
						 
				 
			
				
					
						
							
							
								bybai 
							
						 
					 
					
						
						
							
						
						b4fa5f0486 
					 
					
						
						
							
							fix issue 2717 makehosts -d will delete erroneously entries /etc/hosts if one node s01 another is  
						
						
						
						
					 
					
						2017-03-22 03:08:33 -04:00 
						 
				 
			
				
					
						
							
							
								bybai 
							
						 
					 
					
						
						
							
						
						891f4ee105 
					 
					
						
						
							
							fix issue 2657  
						
						
						
						
					 
					
						2017-03-19 23:22:27 -04:00 
						 
				 
			
				
					
						
							
							
								Kilian Cavalotti 
							
						 
					 
					
						
						
							
						
						258084cbc1 
					 
					
						
						
							
							makehosts: prevents redundant names in /etc/hosts when aliases are defined  
						
						
						
						
					 
					
						2017-02-06 14:53:08 -08:00 
						 
				 
			
				
					
						
							
							
								Xiaopeng Wang 
							
						 
					 
					
						
						
							
						
						bf3eb5fb39 
					 
					
						
						
							
							Merge pull request  #1576  from immarvin/onotherinterfaces  
						
						... 
						
						
						
						fix issue  [DEV] "makehosts" generates the /etc/hosts entries with wrong domain name for node with "otherinterfaces" attribute #1575  
						
						
					 
					
						2016-07-22 15:24:30 +08:00 
						 
				 
			
				
					
						
							
							
								immarvin 
							
						 
					 
					
						
						
							
						
						13b0b37560 
					 
					
						
						
							
							fix issue  [DEV] "makehosts" generates the /etc/hosts entries with wrong domain name for node with "otherinterfaces" attribute  #1575  
						
						
						
						
					 
					
						2016-07-22 02:24:28 -04:00 
						 
				 
			
				
					
						
							
							
								Mark Gurevich 
							
						 
					 
					
						
						
							
						
						0a3fbd8d51 
					 
					
						
						
							
							perltidy all perl files  
						
						
						
						
					 
					
						2016-07-20 11:40:27 -04:00 
						 
				 
			
				
					
						
							
							
								ertaozh 
							
						 
					 
					
						
						
							
						
						51f4573c0f 
					 
					
						
						
							
							fix issue 1146: Format of hosts is wrong when add input in /etc/hosts  
						
						
						
						
					 
					
						2016-05-19 03:20:44 -04:00 
						 
				 
			
				
					
						
							
							
								XuWei 
							
						 
					 
					
						
						
							
						
						3684705279 
					 
					
						
						
							
							Add a global cfg to enable the longnamefirst  
						
						
						
						
					 
					
						2015-12-16 03:52:20 -05:00 
						 
				 
			
				
					
						
							
							
								daniceexi 
							
						 
					 
					
						
						
							
						
						d718ba8396 
					 
					
						
						
							
							defect 4283: add note head of the subtourines (in hosts.pm) which called in ddns.pm. Generally xcat does not suggest that call subroutine of xcat_plugin from antoher xcat_plugin module, but since the change would be big, I add this note head the subroutines as a notification for the member who would change the involved subroutines.  
						
						
						
						
					 
					
						2014-10-22 02:03:07 -04:00 
						 
				 
			
				
					
						
							
							
								daniceexi 
							
						 
					 
					
						
						
							
						
						fdfa1fe290 
					 
					
						
						
							
							defect 4283: fix the syntax issues in the hosts.pm and NetworkUtils.pm for the code that support multiple domain and makehosts against nics table  
						
						
						
						
					 
					
						2014-10-10 11:13:39 -04:00 
						 
				 
			
				
					
						
							
							
								ligc 
							
						 
					 
					
						
						
							
						
						54982068cf 
					 
					
						
						
							
							fix for bug 3991: if the node can not be resolved or ip address is not valid, print warning message and ignore the node  
						
						
						
						
					 
					
						2014-02-21 12:39:57 -06:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e86917e218 
					 
					
						
						
							
							fix bug 3971, trim othernames variable  
						
						
						
						
					 
					
						2014-01-17 08:45:17 +00:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e01827f9d3 
					 
					
						
						
							
							first commit for prefix hostname feature  
						
						
						
						
					 
					
						2014-01-09 21:02:53 +00:00 
						 
				 
			
				
					
						
							
							
								ligc 
							
						 
					 
					
						
						
							
						
						982f411251 
					 
					
						
						
							
							fix bug 3745: makehosts -d to delete otherinterfaces hosts  
						
						
						
						
					 
					
						2013-09-18 07:54:40 +08:00 
						 
				 
			
				
					
						
							
							
								immarvin 
							
						 
					 
					
						
						
							
						
						d5609b9ca8 
					 
					
						
						
							
							fix defect 3734 makehosts throw exceptions when node ip is not illegal  
						
						
						
						
					 
					
						2013-08-08 21:32:03 -07:00 
						 
				 
			
				
					
						
							
							
								root 
							
						 
					 
					
						
						
							
						
						f0e5505b24 
					 
					
						
						
							
							fix defect 3724, makehosts should report error/warning messages when entrys in hosts table are not correct  
						
						
						
						
					 
					
						2013-08-01 00:21:21 -07:00 
						 
				 
			
				
					
						
							
							
								lissav 
							
						 
					 
					
						
						
							
						
						6588a4e05f 
					 
					
						
						
							
							Fix makehosts -h  does not display and add makehosts -v  (version)  
						
						
						
						
					 
					
						2013-07-30 14:36:44 -04:00 
						 
				 
			
				
					
						
							
							
								sjing 
							
						 
					 
					
						
						
							
						
						d5f7c77bc1 
					 
					
						
						
							
							git-svn-id:  https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16530  8638fb3e-16cb-4fca-ae20-7b5d299a9bcd  
						
						
						
						
					 
					
						2013-06-04 08:16:38 +00:00 
						 
				 
			
				
					
						
							
							
								jbjohnso 
							
						 
					 
					
						
						
							
						
						ab25897d4e 
					 
					
						
						
							
							Fix problem where makedns suddenly required hosts table  
						
						... 
						
						
						
						git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16125  8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 
						
						
					 
					
						2013-04-29 18:04:21 +00:00 
						 
				 
			
				
					
						
							
							
								jbjohnso 
							
						 
					 
					
						
						
							
						
						6fe6d9d9c8 
					 
					
						
						
							
							Have ddns.pm call the code that hosts plugin uses to support extra interfaces  
						
						... 
						
						
						
						git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16031  8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 
						
						
					 
					
						2013-04-22 19:03:07 +00:00 
						 
				 
			
				
					
						
							
							
								nott 
							
						 
					 
					
						
						
							
						
						6de92a9ef1 
					 
					
						
						
							
							remove use of global variable DELNODE  
						
						... 
						
						
						
						git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15950  8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 
						
						
					 
					
						2013-04-11 14:18:08 +00:00 
						 
				 
			
				
					
						
							
							
								nott 
							
						 
					 
					
						
						
							
						
						e0b1400489 
					 
					
						
						
							
							more usage msgs and error checking  
						
						... 
						
						
						
						git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15773  8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 
						
						
					 
					
						2013-04-01 18:49:55 +00:00 
						 
				 
			
				
					
						
							
							
								nott 
							
						 
					 
					
						
						
							
						
						b5afe5e3b9 
					 
					
						
						
							
							support xCAT long hostname  
						
						... 
						
						
						
						git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15768  8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 
						
						
					 
					
						2013-04-01 17:22:21 +00:00 
						 
				 
			
				
					
						
							
							
								nott 
							
						 
					 
					
						
						
							
						
						4c82d3101f 
					 
					
						
						
							
							add default for nichostnamesuffixes  
						
						... 
						
						
						
						git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15729  8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 
						
						
					 
					
						2013-03-29 13:20:41 +00:00 
						 
				 
			
				
					
						
							
							
								nott 
							
						 
					 
					
						
						
							
						
						61158bbfcf 
					 
					
						
						
							
							add support for nicaliases  
						
						... 
						
						
						
						git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15630  8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 
						
						
					 
					
						2013-03-22 14:19:17 +00:00 
						 
				 
			
				
					
						
							
							
								nott 
							
						 
					 
					
						
						
							
						
						3ceb5fe7e4 
					 
					
						
						
							
							fix bad hosts file entry - 3439  
						
						... 
						
						
						
						git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15618  8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 
						
						
					 
					
						2013-03-21 18:18:45 +00:00 
						 
				 
			
				
					
						
							
							
								nott 
							
						 
					 
					
						
						
							
						
						a40c9c08ed 
					 
					
						
						
							
							add support for | in nics table  
						
						... 
						
						
						
						git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14983  8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 
						
						
					 
					
						2013-01-24 14:54:25 +00:00 
						 
				 
			
				
					
						
							
							
								nott 
							
						 
					 
					
						
						
							
						
						1acc33adc1 
					 
					
						
						
							
							add support for new nics table delimiter  
						
						... 
						
						
						
						git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14852  8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 
						
						
					 
					
						2013-01-10 20:04:21 +00:00 
						 
				 
			
				
					
						
							
							
								nott 
							
						 
					 
					
						
						
							
						
						b3ee36c58a 
					 
					
						
						
							
							fix nics processing for na alias  
						
						... 
						
						
						
						git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14589  8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 
						
						
					 
					
						2012-12-07 16:18:23 +00:00 
						 
				 
			
				
					
						
							
							
								nott 
							
						 
					 
					
						
						
							
						
						06d2048be2 
					 
					
						
						
							
							add domain and nics table support  
						
						... 
						
						
						
						git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14529  8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 
						
						
					 
					
						2012-12-03 20:23:33 +00:00 
						 
				 
			
				
					
						
							
							
								zhaoertao 
							
						 
					 
					
						
						
							
						
						40e144b4cc 
					 
					
						
						
							
							for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/  
						
						... 
						
						
						
						git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467  8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 
						
						
					 
					
						2012-08-09 04:07:40 +00:00 
						 
				 
			
				
					
						
							
							
								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