firewall: don’t configure mdev for interface renaming
Since Alpine 3.22 this is now done in default configuration.
This commit is contained in:
		
							parent
							
								
									6840838978
								
							
						
					
					
						commit
						24fc864e63
					
				
					 2 changed files with 0 additions and 11 deletions
				
			
		|  | @ -2,10 +2,6 @@ | |||
|   command: ifup --auto | ||||
|   when: "'handler' not in ansible_skip_tags" | ||||
| 
 | ||||
| - name: mkinitfs | ||||
|   command: mkinitfs | ||||
|   when: "'handler' not in ansible_skip_tags" | ||||
| 
 | ||||
| - name: reboot | ||||
|   reboot: | ||||
|   when: "'handler' not in ansible_skip_tags" | ||||
|  |  | |||
|  | @ -7,13 +7,6 @@ | |||
|     name: bash,bonding,iproute2 | ||||
|     state: latest | ||||
| 
 | ||||
| - name: Tell mdev to rename network interfaces | ||||
|   lineinfile: | ||||
|     path: /etc/mdev.conf | ||||
|     line: '-net/.* root:root 600 @/sbin/nameif -s' | ||||
|     insertafter: '^# net devices' | ||||
|   notify: mkinitfs | ||||
| 
 | ||||
| - name: Tell ifupdown to also rename network interfaces | ||||
|   copy: | ||||
|     dest: /etc/network/if-pre-up.d/nameif | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue