mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	CLOUDSTACK-8915 - Reverting changes from commit id 18dbc0c4cbe506ad698bc513c901dc2d0e48159f
- If the file is always copied, it will result in restarting keepalived everytime which makes the routers transit between master/backup
This commit is contained in:
		
							parent
							
								
									094d29d7cd
								
							
						
					
					
						commit
						3d34e4a52c
					
				@ -96,7 +96,8 @@ class CsRedundant(object):
 | 
			
		||||
                d = s.replace(".templ", "")
 | 
			
		||||
            CsHelper.copy_if_needed(
 | 
			
		||||
                "%s/%s" % (self.CS_TEMPLATES_DIR, s), "%s/%s" % (self.CS_ROUTER_DIR, d))
 | 
			
		||||
        CsHelper.copy(
 | 
			
		||||
 | 
			
		||||
        CsHelper.copy_if_needed(
 | 
			
		||||
            "%s/%s" % (self.CS_TEMPLATES_DIR, "keepalived.conf.templ"), self.KEEPALIVED_CONF)
 | 
			
		||||
        CsHelper.copy_if_needed(
 | 
			
		||||
            "%s/%s" % (self.CS_TEMPLATES_DIR, "conntrackd.conf.templ"), self.CONNTRACKD_CONF)
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user