mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 11:22:27 +00:00 
			
		
		
		
	Fixed post-script to echo default gateway to /etc/sysconfig/network/routes file in mkay4z script.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15388 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -1293,7 +1293,7 @@ sub createScripts { | ||||
| 		# Do not set default route for DHCP interface | ||||
| 		if(!$script && !($interfaces{$i}{'bootproto'} eq 'dhcp')) { | ||||
| 			$script .= <<END; | ||||
| echo "default - 0.0.0.0 $interfaces{$i}{'device'}" > /etc/sysconfig/network/routes | ||||
| echo "default $interfaces{$i}{'gateway'} - -" > /etc/sysconfig/network/routes | ||||
| END | ||||
| 			last; | ||||
| 		} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user