mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	don't forget about non-netplan networkd
netplan.stdout is undefined should handle debian
netplan.stdout.find("yaml") == -1) should handle U-16.04 U-18+ uses netplan
			
			
This commit is contained in:
		
							parent
							
								
									3dd370e088
								
							
						
					
					
						commit
						6783038b29
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -55,4 +55,4 @@
 | 
				
			||||||
    name: systemd-networkd
 | 
					    name: systemd-networkd
 | 
				
			||||||
    enabled: yes
 | 
					    enabled: yes
 | 
				
			||||||
    state: restarted
 | 
					    state: restarted
 | 
				
			||||||
  when: not no_net_restart and netplan.stdout.find("yaml") == -1
 | 
					  when: (netplan.stdout is undefined or netplan.stdout.find("yaml") == -1) and not no_net_restart
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue