mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	fix defect #4238 [FVT]: xcat installation on sles gives out /sbin/SuSEfirewall2: line 507: /proc/net/ip_tables_names: No such file or directory
This commit is contained in:
		| @@ -141,16 +141,14 @@ elsif (-f "/etc/SuSE-release") | ||||
|     # restart firewall  | ||||
|     #my $cmd = "service SuSEfirewall2_setup restart"; | ||||
|     #system($cmd); | ||||
|     xCAT::Utils->restartservice("SuSEfirewall2_setup"); | ||||
|     xCAT::Utils->restartservice("firewall"); | ||||
|  | ||||
|     # SuSEfirewall2_setup should be stared on reboot | ||||
|     #$cmd = "chkconfig SuSEfirewall2_init on"; | ||||
|     #system($cmd); | ||||
|     #$cmd = "chkconfig SuSEfirewall2_setup on"; | ||||
|     #system($cmd); | ||||
|     xCAT::Utils->enableservice("SuSEfirewall2_init"); | ||||
|     xCAT::Utils->enableservice("SuSEfirewall2_setup"); | ||||
|  | ||||
|     xCAT::Utils->enableservice("firewall"); | ||||
| } | ||||
| else | ||||
| { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user