 ee0f81de5e
			
		
	
	
		ee0f81de5e
		
	
	
	
	
		
			
			From http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ You disable the assignment of fixed names, so that the unpredictable kernel names are used again. For this, simply mask udev's rule file for the default policy: ln -s /dev/null /etc/udev/rules.d/80-net-setup-link.rules (since v209: this file was called 80-net-name-slot.rules in release v197 through v208)
		
			
				
	
	
		
			14 lines
		
	
	
		
			462 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			462 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Copied from systemd 203.
 | |
| ACTION=="remove", GOTO="net_name_slot_end"
 | |
| SUBSYSTEM!="net", GOTO="net_name_slot_end"
 | |
| NAME!="", GOTO="net_name_slot_end"
 | |
| 
 | |
| IMPORT{cmdline}="net.ifnames"
 | |
| ENV{net.ifnames}=="0", GOTO="net_name_slot_end"
 | |
| 
 | |
| NAME=="", ENV{ID_NET_NAME_ONBOARD}!="", NAME="$env{ID_NET_NAME_ONBOARD}"
 | |
| NAME=="", ENV{ID_NET_NAME_SLOT}!="", NAME="$env{ID_NET_NAME_SLOT}"
 | |
| NAME=="", ENV{ID_NET_NAME_PATH}!="", NAME="$env{ID_NET_NAME_PATH}"
 | |
| 
 | |
| LABEL="net_name_slot_end"
 |